diff options
Diffstat (limited to 'docs/en/cowboy/2.6/manual')
-rw-r--r-- | docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html | 4 | ||||
-rw-r--r-- | docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html | 2 | ||||
-rw-r--r-- | docs/en/cowboy/2.6/manual/cowboy_stream/index.html | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html b/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html index 892aadd6..57596bd3 100644 --- a/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html +++ b/docs/en/cowboy/2.6/manual/cowboy.start_tls/index.html @@ -115,7 +115,7 @@ http://www.gnu.org/software/src-highlite --> {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#FF6600">example</font>, [ {<font color="#FF6600">port</font>, <font color="#993399">8443</font>}, - {<font color="#FF6600">certfile</font>, <font color="#FF0000">"path/to/cert.pem"</font>} + {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>} ], #{ <font color="#0000FF">env</font> <font color="#990000">=></font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=></font> <font color="#009900">Dispatch</font>} })<font color="#990000">.</font></tt></pre> @@ -128,7 +128,7 @@ http://www.gnu.org/software/src-highlite --> <pre><tt><font color="#009900">Name</font> <font color="#990000">=</font> <font color="#FF6600">example</font>, {<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#009900">Name</font>, [ - {<font color="#FF6600">certfile</font>, <font color="#FF0000">"path/to/cert.pem"</font>} + {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>} ], #{ <font color="#0000FF">env</font> <font color="#990000">=></font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=></font> <font color="#009900">Dispatch</font>} }), diff --git a/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html b/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html index 49209ca7..ba451d7c 100644 --- a/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html +++ b/docs/en/cowboy/2.6/manual/cowboy_req.cert/index.html @@ -79,7 +79,7 @@ http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> <pre><tt>{<font color="#FF6600">ok</font>, <font color="#990000">_</font>} <font color="#990000">=</font> <b><font color="#000000">cowboy:start_tls</font></b>(<font color="#FF6600">example</font>, [ {<font color="#FF6600">port</font>, <font color="#993399">8443</font>}, - {<font color="#FF6600">certfile</font>, <font color="#FF0000">"path/to/cert.pem"</font>}, + {<font color="#FF6600">cert</font>, <font color="#FF0000">"path/to/cert.pem"</font>}, {<font color="#FF6600">verify</font>, <font color="#FF6600">verify_peer</font>} ], #{ <font color="#0000FF">env</font> <font color="#990000">=></font> #{<font color="#0000FF">dispatch</font> <font color="#990000">=></font> <font color="#009900">Dispatch</font>} diff --git a/docs/en/cowboy/2.6/manual/cowboy_stream/index.html b/docs/en/cowboy/2.6/manual/cowboy_stream/index.html index 85938072..a10e6e62 100644 --- a/docs/en/cowboy/2.6/manual/cowboy_stream/index.html +++ b/docs/en/cowboy/2.6/manual/cowboy_stream/index.html @@ -220,7 +220,7 @@ http://www.gnu.org/software/src-highlite --> <p>Cowboy will forward all messages sent to the stream to the <code>info/3</code> callback. To send a message to a stream, send a message to the connection process with the form <code>{{Pid, StreamID}, Msg}</code>. The connection process will then forward <code>Msg</code> to the stream handlers.</p> <p>Cowboy will also forward the exit signals for the processes that the stream spawned.</p> <p>When Cowboy needs to send a response it will trigger an event that looks exactly like the corresponding command. This event must be returned to be processed by Cowboy (which is done automatically when using <a href="../cowboy_stream_h">cowboy_stream_h(3)</a>).</p> -<p>Cowboy may trigger the following events on its own, regardless of the stream handlers configured: <a href="../inform_command">inform</a> (to send a 101 informational response when upgrading to HTTP/2 or Websocket), <a href="../response_command">response</a>, <a href="../headers_command">headers</a>, <a href="../data_command">data</a> and <a href="../switch_protocol_command">switch_protocol</a>.</p> +<p>Cowboy may trigger the following events on its own, regardless of the stream handlers configured: <a href="#inform_command">inform</a> (to send a 101 informational response when upgrading to HTTP/2 or Websocket), <a href="#response_command">response</a>, <a href="#headers_command">headers</a>, <a href="#data_command">data</a> and <a href="#switch_protocol_command">switch_protocol</a>.</p> <h2 id="_exports">Exports</h2> <p>The following function should be called by modules implementing stream handlers to execute the next stream handler in the list:</p> <ul><li><a href="../cowboy_stream.init">cowboy_stream:init(3)</a> - Initialize a stream @@ -242,7 +242,7 @@ http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite --> <pre><tt><b><font color="#000000">commands</font></b>() <font color="#990000">::</font> [<font color="#009900">Command</font>]</tt></pre> </div></div> -<p>See the <a href="../commands">list of commands</a> for details.</p> +<p>See the <a href="#commands">list of commands</a> for details.</p> <h3 id="_fin">fin()</h3> <div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8 by Lorenzo Bettini @@ -293,7 +293,7 @@ http://www.gnu.org/software/src-highlite --> <pre><tt><b><font color="#000000">resp_command</font></b>() <font color="#990000">::</font> {<font color="#FF6600">response</font>, <b><font color="#000000">cowboy:http_status</font></b>(), <b><font color="#000000">cowboy:http_headers</font></b>(), <b><font color="#000000">cowboy_req:resp_body</font></b>()}</tt></pre> </div></div> -<p>See the <a href="../response_command">response command</a> for details.</p> +<p>See the <a href="#response_command">response command</a> for details.</p> <h3 id="_streamid">streamid()</h3> <div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8 by Lorenzo Bettini |