diff options
Diffstat (limited to 'doc/src/guide/handlers.asciidoc')
-rw-r--r-- | doc/src/guide/handlers.asciidoc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/src/guide/handlers.asciidoc b/doc/src/guide/handlers.asciidoc index e073dfb..fe6f462 100644 --- a/doc/src/guide/handlers.asciidoc +++ b/doc/src/guide/handlers.asciidoc @@ -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. |