diff options
author | Loïc Hoguin <[email protected]> | 2019-10-07 13:50:21 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-07 13:50:21 +0200 |
commit | 2502d09d86df110cafdf830097de6a095929ced2 (patch) | |
tree | caa2e2042d672570761083a65d99eb1ad69d562e /docs/en/cowboy | |
parent | 705eace4b98c3e5ec76f7600cad9f87bddeb0c7d (diff) | |
download | ninenines.eu-2502d09d86df110cafdf830097de6a095929ced2.tar.gz ninenines.eu-2502d09d86df110cafdf830097de6a095929ced2.tar.bz2 ninenines.eu-2502d09d86df110cafdf830097de6a095929ced2.zip |
Fix xref links in manual pages
Diffstat (limited to 'docs/en/cowboy')
-rw-r--r-- | docs/en/cowboy/2.2/manual/cowboy_stream/index.html | 18 | ||||
-rw-r--r-- | docs/en/cowboy/2.3/manual/cowboy_stream/index.html | 18 | ||||
-rw-r--r-- | docs/en/cowboy/2.4/manual/cowboy_stream/index.html | 18 | ||||
-rw-r--r-- | docs/en/cowboy/2.5/manual/cowboy_stream/index.html | 18 | ||||
-rw-r--r-- | docs/en/cowboy/2.6/guide/specs.asciidoc | 7 | ||||
-rw-r--r-- | docs/en/cowboy/2.6/guide/specs/index.html | 14 | ||||
-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 |
9 files changed, 42 insertions, 63 deletions
diff --git a/docs/en/cowboy/2.2/manual/cowboy_stream/index.html b/docs/en/cowboy/2.2/manual/cowboy_stream/index.html index 0c0e64f5..217768fb 100644 --- a/docs/en/cowboy/2.2/manual/cowboy_stream/index.html +++ b/docs/en/cowboy/2.2/manual/cowboy_stream/index.html @@ -251,25 +251,25 @@ http://www.gnu.org/software/src-highlite --> <!-- TODO receive the message, and perhaps *identify* which process--> <!-- TODO gets it?--> <h3 id="_inform">inform</h3> -<p>Same as the <a href="../inform_command">inform command</a>.</p> +<p>Same as the <a href="#inform_command">inform command</a>.</p> <p>Sent when the request process reads the body and an expect: 100-continue header was present in the request, or when the request process sends an informational response on its own.</p> <h3 id="_response">response</h3> -<p>Same as the <a href="../response_command">response command</a>.</p> +<p>Same as the <a href="#response_command">response command</a>.</p> <p>Usually sent when the request process replies to the client. May also be sent by Cowboy internally.</p> <h3 id="_headers">headers</h3> -<p>Same as the <a href="../headers_command">headers command</a>.</p> +<p>Same as the <a href="#headers_command">headers command</a>.</p> <p>Sent when the request process starts replying to the client.</p> <h3 id="_data">data</h3> -<p>Same as the <a href="../data_command">data command</a>.</p> +<p>Same as the <a href="#data_command">data command</a>.</p> <p>Sent when the request process streams data to the client.</p> <h3 id="_trailers">trailers</h3> -<p>Same as the <a href="../trailers_command">trailers command</a>.</p> +<p>Same as the <a href="#trailers_command">trailers command</a>.</p> <p>Sent when the request process sends the trailer field values to the client.</p> <h3 id="_push">push</h3> -<p>Same as the <a href="../push_command">push command</a>.</p> +<p>Same as the <a href="#push_command">push command</a>.</p> <p>Sent when the request process pushes a resource to the client.</p> <h3 id="_switch_protocol">switch_protocol</h3> -<p>Same as the <a href="../switch_protocol_command">switch_protocol command</a>.</p> +<p>Same as the <a href="#switch_protocol_command">switch_protocol command</a>.</p> <!-- @todo Not done for HTTP/2 yet.--> <p>Sent when switching to the HTTP/2 or Websocket protocol.</p> <h2 id="_exports">Exports</h2> @@ -293,7 +293,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 @@ -344,7 +344,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 diff --git a/docs/en/cowboy/2.3/manual/cowboy_stream/index.html b/docs/en/cowboy/2.3/manual/cowboy_stream/index.html index fa357f5d..813e9d74 100644 --- a/docs/en/cowboy/2.3/manual/cowboy_stream/index.html +++ b/docs/en/cowboy/2.3/manual/cowboy_stream/index.html @@ -251,25 +251,25 @@ http://www.gnu.org/software/src-highlite --> <!-- TODO receive the message, and perhaps *identify* which process--> <!-- TODO gets it?--> <h3 id="_inform">inform</h3> -<p>Same as the <a href="../inform_command">inform command</a>.</p> +<p>Same as the <a href="#inform_command">inform command</a>.</p> <p>Sent when the request process reads the body and an expect: 100-continue header was present in the request, or when the request process sends an informational response on its own.</p> <h3 id="_response">response</h3> -<p>Same as the <a href="../response_command">response command</a>.</p> +<p>Same as the <a href="#response_command">response command</a>.</p> <p>Usually sent when the request process replies to the client. May also be sent by Cowboy internally.</p> <h3 id="_headers">headers</h3> -<p>Same as the <a href="../headers_command">headers command</a>.</p> +<p>Same as the <a href="#headers_command">headers command</a>.</p> <p>Sent when the request process starts replying to the client.</p> <h3 id="_data">data</h3> -<p>Same as the <a href="../data_command">data command</a>.</p> +<p>Same as the <a href="#data_command">data command</a>.</p> <p>Sent when the request process streams data to the client.</p> <h3 id="_trailers">trailers</h3> -<p>Same as the <a href="../trailers_command">trailers command</a>.</p> +<p>Same as the <a href="#trailers_command">trailers command</a>.</p> <p>Sent when the request process sends the trailer field values to the client.</p> <h3 id="_push">push</h3> -<p>Same as the <a href="../push_command">push command</a>.</p> +<p>Same as the <a href="#push_command">push command</a>.</p> <p>Sent when the request process pushes a resource to the client.</p> <h3 id="_switch_protocol">switch_protocol</h3> -<p>Same as the <a href="../switch_protocol_command">switch_protocol command</a>.</p> +<p>Same as the <a href="#switch_protocol_command">switch_protocol command</a>.</p> <!-- @todo Not done for HTTP/2 yet.--> <p>Sent when switching to the HTTP/2 or Websocket protocol.</p> <h2 id="_exports">Exports</h2> @@ -293,7 +293,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 @@ -344,7 +344,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 diff --git a/docs/en/cowboy/2.4/manual/cowboy_stream/index.html b/docs/en/cowboy/2.4/manual/cowboy_stream/index.html index 8fac7f34..8daa99eb 100644 --- a/docs/en/cowboy/2.4/manual/cowboy_stream/index.html +++ b/docs/en/cowboy/2.4/manual/cowboy_stream/index.html @@ -251,25 +251,25 @@ http://www.gnu.org/software/src-highlite --> <!-- TODO receive the message, and perhaps *identify* which process--> <!-- TODO gets it?--> <h3 id="_inform">inform</h3> -<p>Same as the <a href="../inform_command">inform command</a>.</p> +<p>Same as the <a href="#inform_command">inform command</a>.</p> <p>Sent when the request process reads the body and an expect: 100-continue header was present in the request, or when the request process sends an informational response on its own.</p> <h3 id="_response">response</h3> -<p>Same as the <a href="../response_command">response command</a>.</p> +<p>Same as the <a href="#response_command">response command</a>.</p> <p>Usually sent when the request process replies to the client. May also be sent by Cowboy internally.</p> <h3 id="_headers">headers</h3> -<p>Same as the <a href="../headers_command">headers command</a>.</p> +<p>Same as the <a href="#headers_command">headers command</a>.</p> <p>Sent when the request process starts replying to the client.</p> <h3 id="_data">data</h3> -<p>Same as the <a href="../data_command">data command</a>.</p> +<p>Same as the <a href="#data_command">data command</a>.</p> <p>Sent when the request process streams data to the client.</p> <h3 id="_trailers">trailers</h3> -<p>Same as the <a href="../trailers_command">trailers command</a>.</p> +<p>Same as the <a href="#trailers_command">trailers command</a>.</p> <p>Sent when the request process sends the trailer field values to the client.</p> <h3 id="_push">push</h3> -<p>Same as the <a href="../push_command">push command</a>.</p> +<p>Same as the <a href="#push_command">push command</a>.</p> <p>Sent when the request process pushes a resource to the client.</p> <h3 id="_switch_protocol">switch_protocol</h3> -<p>Same as the <a href="../switch_protocol_command">switch_protocol command</a>.</p> +<p>Same as the <a href="#switch_protocol_command">switch_protocol command</a>.</p> <p>Sent when switching to the HTTP/2 or Websocket protocol.</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> @@ -292,7 +292,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 @@ -343,7 +343,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 diff --git a/docs/en/cowboy/2.5/manual/cowboy_stream/index.html b/docs/en/cowboy/2.5/manual/cowboy_stream/index.html index b762e993..35ccac93 100644 --- a/docs/en/cowboy/2.5/manual/cowboy_stream/index.html +++ b/docs/en/cowboy/2.5/manual/cowboy_stream/index.html @@ -238,25 +238,25 @@ http://www.gnu.org/software/src-highlite --> <!-- --> <!-- TODO yeah I am not actually sure this one should be public just yet--> <h3 id="_inform">inform</h3> -<p>Same as the <a href="../inform_command">inform command</a>.</p> +<p>Same as the <a href="#inform_command">inform command</a>.</p> <p>Sent when the request process reads the body and an expect: 100-continue header was present in the request, or when the request process sends an informational response on its own.</p> <h3 id="_response">response</h3> -<p>Same as the <a href="../response_command">response command</a>.</p> +<p>Same as the <a href="#response_command">response command</a>.</p> <p>Usually sent when the request process replies to the client. May also be sent by Cowboy internally.</p> <h3 id="_headers">headers</h3> -<p>Same as the <a href="../headers_command">headers command</a>.</p> +<p>Same as the <a href="#headers_command">headers command</a>.</p> <p>Sent when the request process starts replying to the client.</p> <h3 id="_data">data</h3> -<p>Same as the <a href="../data_command">data command</a>.</p> +<p>Same as the <a href="#data_command">data command</a>.</p> <p>Sent when the request process streams data to the client.</p> <h3 id="_trailers">trailers</h3> -<p>Same as the <a href="../trailers_command">trailers command</a>.</p> +<p>Same as the <a href="#trailers_command">trailers command</a>.</p> <p>Sent when the request process sends the trailer field values to the client.</p> <h3 id="_push">push</h3> -<p>Same as the <a href="../push_command">push command</a>.</p> +<p>Same as the <a href="#push_command">push command</a>.</p> <p>Sent when the request process pushes a resource to the client.</p> <h3 id="_switch_protocol">switch_protocol</h3> -<p>Same as the <a href="../switch_protocol_command">switch_protocol command</a>.</p> +<p>Same as the <a href="#switch_protocol_command">switch_protocol command</a>.</p> <p>Sent when switching to the HTTP/2 or Websocket protocol.</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> @@ -279,7 +279,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 @@ -330,7 +330,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 diff --git a/docs/en/cowboy/2.6/guide/specs.asciidoc b/docs/en/cowboy/2.6/guide/specs.asciidoc index 2f0113fe..06751cd5 100644 --- a/docs/en/cowboy/2.6/guide/specs.asciidoc +++ b/docs/en/cowboy/2.6/guide/specs.asciidoc @@ -91,8 +91,6 @@ for or related to HTTP. * https://tools.ietf.org/html/rfc8441[RFC 8441]: Bootstrapping WebSockets with HTTP/2 * https://tools.ietf.org/html/rfc8470[RFC 8470]: Using Early Data in HTTP * https://tools.ietf.org/html/rfc8473[RFC 8473]: Token Binding over HTTP -* https://tools.ietf.org/html/rfc8586[RFC 8586]: Loop Detection in Content Delivery Networks (CDNs) -* https://tools.ietf.org/html/rfc8594[RFC 8594]: The Sunset HTTP Header Field * https://www.w3.org/TR/webmention/[Webmention]: Webmention ==== Upcoming @@ -129,12 +127,10 @@ for or related to HTTP. * http://www.w3.org/TR/html51/[HTML5.1] * https://www.w3.org/TR/html52/[HTML5.2] * http://www.w3.org/TR/media-frags/[Media Fragments URI 1.0] -* https://tools.ietf.org/html/rfc5829[RFC 5829]: Link Relation Types for Simple Version Navigation between Web Resources * https://tools.ietf.org/html/rfc6657[RFC 6657]: Update to MIME regarding "charset" Parameter Handling in Textual Media Types * https://tools.ietf.org/html/rfc6690[RFC 6690]: Constrained RESTful Environments (CoRE) Link Format * https://tools.ietf.org/html/rfc7807[RFC 7807]: Problem Details for HTTP APIs * https://tools.ietf.org/html/rfc6906[RFC 6906]: The 'profile' Link Relation Type -* https://tools.ietf.org/html/rfc8631[RFC 8631]: Link Relation Types for Web Services * http://www.w3.org/TR/SRI/[Subresource Integrity] * http://www.w3.org/TR/tracking-compliance/[Tracking Compliance and Scope] * http://www.w3.org/TR/media-frags-reqs/[Use cases and requirements for Media Fragments] @@ -163,7 +159,6 @@ for or related to HTTP. * https://tools.ietf.org/html/rfc6570[RFC 6570]: URI Template * https://tools.ietf.org/html/rfc6874[RFC 6874]: Representing IPv6 Zone Identifiers in Address Literals and URIs * https://tools.ietf.org/html/rfc7320[RFC 7320]: URI Design and Ownership -* https://tools.ietf.org/html/rfc8615[RFC 8615]: Well-Known URIs * http://www.w3.org/TR/url-1/[URL] * https://url.spec.whatwg.org/[URL Living Standard] @@ -190,7 +185,6 @@ for or related to HTTP. * https://tools.ietf.org/html/rfc7809[RFC 7809]: Calendaring Extensions to WebDAV (CalDAV): Time Zones by Reference * https://tools.ietf.org/html/rfc7953[RFC 7953]: Calendar Availability * https://tools.ietf.org/html/rfc8144[RFC 8144]: Use of the Prefer Header Field in WebDAV -* https://tools.ietf.org/html/rfc8607[RFC 8607]: Calendaring Extensions to WebDAV (CalDAV): Managed Attachments === CoAP @@ -204,4 +198,3 @@ for or related to HTTP. * https://tools.ietf.org/html/rfc8132[RFC 8132]: PATCH and FETCH Methods for CoAP * https://tools.ietf.org/html/rfc8323[RFC 8323]: CoAP over TCP, TLS, and WebSockets * https://tools.ietf.org/html/rfc8516[RFC 8516]: "Too Many Requests" Response Code for CoAP -* https://tools.ietf.org/html/rfc8613[RFC 8613]: Object Security for Constrained RESTful Environments diff --git a/docs/en/cowboy/2.6/guide/specs/index.html b/docs/en/cowboy/2.6/guide/specs/index.html index 872e557f..0e41649d 100644 --- a/docs/en/cowboy/2.6/guide/specs/index.html +++ b/docs/en/cowboy/2.6/guide/specs/index.html @@ -227,10 +227,6 @@ </li> <li><a href="https://tools.ietf.org/html/rfc8473">RFC 8473</a>: Token Binding over HTTP </li> -<li><a href="https://tools.ietf.org/html/rfc8586">RFC 8586</a>: Loop Detection in Content Delivery Networks (CDNs) -</li> -<li><a href="https://tools.ietf.org/html/rfc8594">RFC 8594</a>: The Sunset HTTP Header Field -</li> <li><a href="https://www.w3.org/TR/webmention/">Webmention</a>: Webmention </li> </ul> @@ -291,8 +287,6 @@ </li> <li><a href="http://www.w3.org/TR/media-frags/">Media Fragments URI 1.0</a> </li> -<li><a href="https://tools.ietf.org/html/rfc5829">RFC 5829</a>: Link Relation Types for Simple Version Navigation between Web Resources -</li> <li><a href="https://tools.ietf.org/html/rfc6657">RFC 6657</a>: Update to MIME regarding "charset" Parameter Handling in Textual Media Types </li> <li><a href="https://tools.ietf.org/html/rfc6690">RFC 6690</a>: Constrained RESTful Environments (CoRE) Link Format @@ -301,8 +295,6 @@ </li> <li><a href="https://tools.ietf.org/html/rfc6906">RFC 6906</a>: The <em>profile</em> Link Relation Type </li> -<li><a href="https://tools.ietf.org/html/rfc8631">RFC 8631</a>: Link Relation Types for Web Services -</li> <li><a href="http://www.w3.org/TR/SRI/">Subresource Integrity</a> </li> <li><a href="http://www.w3.org/TR/tracking-compliance/">Tracking Compliance and Scope</a> @@ -351,8 +343,6 @@ </li> <li><a href="https://tools.ietf.org/html/rfc7320">RFC 7320</a>: URI Design and Ownership </li> -<li><a href="https://tools.ietf.org/html/rfc8615">RFC 8615</a>: Well-Known URIs -</li> <li><a href="http://www.w3.org/TR/url-1/">URL</a> </li> <li><a href="https://url.spec.whatwg.org/">URL Living Standard</a> @@ -401,8 +391,6 @@ </li> <li><a href="https://tools.ietf.org/html/rfc8144">RFC 8144</a>: Use of the Prefer Header Field in WebDAV </li> -<li><a href="https://tools.ietf.org/html/rfc8607">RFC 8607</a>: Calendaring Extensions to WebDAV (CalDAV): Managed Attachments -</li> </ul> <h2 id="_coap">CoAP</h2> <ul><li><a href="https://tools.ietf.org/html/rfc7252">RFC 7252</a>: The Constrained Application Protocol (CoAP) @@ -425,8 +413,6 @@ </li> <li><a href="https://tools.ietf.org/html/rfc8516">RFC 8516</a>: "Too Many Requests" Response Code for CoAP </li> -<li><a href="https://tools.ietf.org/html/rfc8613">RFC 8613</a>: Object Security for Constrained RESTful Environments -</li> </ul> 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 |