diff options
Diffstat (limited to 'docs/en/cowboy/2.0/guide/handlers.asciidoc')
-rw-r--r-- | docs/en/cowboy/2.0/guide/handlers.asciidoc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/en/cowboy/2.0/guide/handlers.asciidoc b/docs/en/cowboy/2.0/guide/handlers.asciidoc index e073dfb6..fe6f4623 100644 --- a/docs/en/cowboy/2.0/guide/handlers.asciidoc +++ b/docs/en/cowboy/2.0/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. |