diff options
author | Loïc Hoguin <[email protected]> | 2019-10-16 09:48:31 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-16 09:48:31 +0200 |
commit | 8459bebceb9533948193774371cbd9fd571b78ea (patch) | |
tree | dd8e5eb8aa21e68b47f2526a3db9a276ea0d4327 /docs/en/cowboy/2.4/manual/cowboy_req | |
parent | 31cedd105e5f6ecfbfcb925d4703cdf7b5ae114f (diff) | |
download | ninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.tar.gz ninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.tar.bz2 ninenines.eu-8459bebceb9533948193774371cbd9fd571b78ea.zip |
Cowboy 2.7.0
Diffstat (limited to 'docs/en/cowboy/2.4/manual/cowboy_req')
-rw-r--r-- | docs/en/cowboy/2.4/manual/cowboy_req/index.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/en/cowboy/2.4/manual/cowboy_req/index.html b/docs/en/cowboy/2.4/manual/cowboy_req/index.html index 13e03d44..d18dd3be 100644 --- a/docs/en/cowboy/2.4/manual/cowboy_req/index.html +++ b/docs/en/cowboy/2.4/manual/cowboy_req/index.html @@ -189,7 +189,7 @@ </ul> <h2 id="_types">Types</h2> <h3 id="_push_opts">push_opts()</h3> -<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8 +<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> @@ -204,7 +204,7 @@ http://www.gnu.org/software/src-highlite --> <p>Push options.</p> <p>By default, Cowboy will use the GET method, an empty query string, and take the scheme, host and port directly from the current request's URI.</p> <h3 id="_read_body_opts">read_body_opts()</h3> -<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8 +<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> @@ -217,7 +217,7 @@ http://www.gnu.org/software/src-highlite --> <p>Body reading options.</p> <p>The defaults are function-specific.</p> <h3 id="_req">req()</h3> -<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8 +<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> @@ -239,14 +239,14 @@ http://www.gnu.org/software/src-highlite --> <p>Contains information about the request and response. While some fields are publicly documented, others aren't and shouldn't be used.</p> <p>You may add custom fields if required. Make sure to namespace them by prepending an underscore and the name of your application:</p> <div class="listingblock"><div class="title">Setting a custom field</div> -<div class="content"><!-- Generator: GNU source-highlight 3.1.8 +<div class="content"><!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> <pre><tt><font color="#009900">Req</font>#{<font color="#009900">_myapp_auth_method</font> <font color="#990000">=></font> <font color="#FF6600">pubkey</font>}<font color="#990000">.</font></tt></pre> </div></div> <h3 id="_resp_body">resp_body()</h3> -<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8 +<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> @@ -261,7 +261,7 @@ http://www.gnu.org/software/src-highlite --> <p>It can take two forms: the actual data to be sent or a tuple indicating which file to send.</p> <p>When sending data directly, the type is either a binary or an iolist. Iolists are an efficient way to build output. Instead of concatenating strings or binaries, you can simply build a list containing the fragments you want to send in the order they should be sent:</p> <div class="listingblock"><div class="title">Example iolists usage</div> -<div class="content"><!-- Generator: GNU source-highlight 3.1.8 +<div class="content"><!-- Generator: GNU source-highlight 3.1.9 by Lorenzo Bettini http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> @@ -308,6 +308,8 @@ http://www.gnu.org/software/src-highlite --> + <li><a href="/docs/en/cowboy/2.7/manual">2.7</a></li> + <li><a href="/docs/en/cowboy/2.6/manual">2.6</a></li> <li><a href="/docs/en/cowboy/2.5/manual">2.5</a></li> |