summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.0/guide/handlers/index.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-07-23 19:59:12 +0200
committerLoïc Hoguin <[email protected]>2017-07-23 19:59:12 +0200
commit1bb95a639cc90500014c4783db4416c2898e5166 (patch)
tree02b73be2c703ef603cee1a32438b4dd0da39e2bf /docs/en/cowboy/2.0/guide/handlers/index.html
parentc41928fd607d35521a2b8de74e23529142841663 (diff)
downloadninenines.eu-1bb95a639cc90500014c4783db4416c2898e5166.tar.gz
ninenines.eu-1bb95a639cc90500014c4783db4416c2898e5166.tar.bz2
ninenines.eu-1bb95a639cc90500014c4783db4416c2898e5166.zip
Update the Cowboy 2.0 docs
Diffstat (limited to 'docs/en/cowboy/2.0/guide/handlers/index.html')
-rw-r--r--docs/en/cowboy/2.0/guide/handlers/index.html10
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/en/cowboy/2.0/guide/handlers/index.html b/docs/en/cowboy/2.0/guide/handlers/index.html
index ba92d89c..dbb50c85 100644
--- a/docs/en/cowboy/2.0/guide/handlers/index.html
+++ b/docs/en/cowboy/2.0/guide/handlers/index.html
@@ -129,16 +129,6 @@ http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt><span style="font-weight: bold"><span style="color: #000000">init</span></span>(<span style="color: #009900">Req</span>, <span style="color: #009900">State</span>) <span style="color: #990000">-&gt;</span>
{<span style="color: #FF6600">cowboy_websocket</span>, <span style="color: #009900">Req</span>, <span style="color: #009900">State</span>}<span style="color: #990000">.</span></tt></pre></div></div>
-<div class="paragraph"><p>You can also switch to your own custom handler type:</p></div>
-<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
-by Lorenzo Bettini
-http://www.lorenzobettini.it
-http://www.gnu.org/software/src-highlite -->
-<pre><tt><span style="font-weight: bold"><span style="color: #000000">init</span></span>(<span style="color: #009900">Req</span>, <span style="color: #009900">State</span>) <span style="color: #990000">-&gt;</span>
- {<span style="color: #FF6600">my_handler_type</span>, <span style="color: #009900">Req</span>, <span style="color: #009900">State</span>}<span style="color: #990000">.</span></tt></pre></div></div>
-<div class="paragraph"><p>How to implement a custom handler type is described in the
-<a href="../sub_protocols">Sub protocols</a> chapter.</p></div>
</div>
</div>
<div class="sect1">