From 92b54aacc0de5446dd5497c39897b0bbff72e626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 13 Jun 2018 09:54:12 +0200 Subject: Rebuild using Asciideck --- .../2.2/manual/cowboy_req.has_body/index.html | 76 +++++----------------- 1 file changed, 17 insertions(+), 59 deletions(-) (limited to 'docs/en/cowboy/2.2/manual/cowboy_req.has_body') diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html index 4f737a14..85936e6d 100644 --- a/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html +++ b/docs/en/cowboy/2.2/manual/cowboy_req.has_body/index.html @@ -62,80 +62,38 @@

cowboy_req:has_body(3)

-

Name

-
-

cowboy_req:has_body - Is there a request body?

-
-
-
+

cowboy_req:has_body - Is there a request body?

Description

-
-
-
-
has_body(Req :: cowboy_req:req()) -> boolean()
-

Return whether the request has a body.

-
-
-
+
has_body(Req :: cowboy_req:req()) -> boolean()
+
+

Return whether the request has a body.

Arguments

-
-
-
-Req -
-
-

-The Req object. -

+
Req
+

The Req object.

-
-
- -
+

Return value

-
-

A boolean indicating whether the request has a body.

-
-
-
+

A boolean indicating whether the request has a body.

Changelog

-
-
    -
  • -

    -1.0: Function introduced. -

    +
    • 1.0: Function introduced.
    • -
-
-
-
+

Examples

-
-
-
Ensure the request has a body
-
-
true = cowboy_req:has_body(Req).
-
-
-
+
true = cowboy_req:has_body(Req).
+

See also

-
- -
- +

cowboy_req(3), cowboy_req:body_length(3), cowboy_req:read_body(3), cowboy_req:read_urlencoded_body(3), cowboy_req:read_part(3), cowboy_req:read_part_body(3)

+ -- cgit v1.2.3