mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Remove cowboy_sub_protocol from the documentation
This will be reintroduced in a future release once the interface stabilizes. For the time being it will be an internal module only.
This commit is contained in:
parent
e4cab480dc
commit
3099fc1d9f
5 changed files with 0 additions and 115 deletions
|
@ -68,17 +68,6 @@ init(Req, State) ->
|
|||
{cowboy_websocket, Req, State}.
|
||||
----
|
||||
|
||||
You can also switch to your own custom handler type:
|
||||
|
||||
[source,erlang]
|
||||
----
|
||||
init(Req, State) ->
|
||||
{my_handler_type, Req, State}.
|
||||
----
|
||||
|
||||
How to implement a custom handler type is described in the
|
||||
xref:sub_protocols[Sub protocols] chapter.
|
||||
|
||||
=== Cleaning up
|
||||
|
||||
All handler types provide the optional `terminate/3` callback.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue