From d2a3f2cedd7c00d0933222aed9c06b3149aa4db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 4 Apr 2018 13:13:37 +0200 Subject: Cowboy 2.3.0 --- docs/en/cowboy/2.1/guide/constraints/index.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'docs/en/cowboy/2.1/guide/constraints') diff --git a/docs/en/cowboy/2.1/guide/constraints/index.html b/docs/en/cowboy/2.1/guide/constraints/index.html index e1286d9b..bd24a57f 100644 --- a/docs/en/cowboy/2.1/guide/constraints/index.html +++ b/docs/en/cowboy/2.1/guide/constraints/index.html @@ -7,7 +7,7 @@ - + Nine Nines: Constraints @@ -94,7 +94,7 @@ then the next one receives the new value.

and convert the field my_value to an integer, and then check that the integer is positive:

-
@@ -110,7 +110,7 @@ We will simply learn what it is later in this chapter.

When there’s only one constraint, it can be provided directly without wrapping it into a list:

-
@@ -159,7 +159,7 @@ value is and what must be returned depends on the operation.

used for validating and converting user input is the forward operation.

-
@@ -175,7 +175,7 @@ by the constraint.

takes a converted value and changes it back to what the user input would have been.

-
@@ -189,7 +189,7 @@ http://www.gnu.org/software/src-highlite --> returned by any other operation and returns a formatted human-readable error message.

-
@@ -258,6 +258,8 @@ functions. They should be written to not emit any exceptions.

+
  • 2.3
  • +
  • 2.2
  • 2.1
  • -- cgit v1.2.3