diff options
author | Loïc Hoguin <[email protected]> | 2017-04-18 14:06:34 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-04-18 14:06:34 +0200 |
commit | 6e8b907ae25a7a988abbcd7206b978028c36f47e (patch) | |
tree | e6271be24334110a69313efb286269def76d9f75 /doc/src/manual/cowboy_stream.asciidoc | |
parent | 3633bceac573df22ebffceff771a6f72247c322f (diff) | |
download | cowboy-6e8b907ae25a7a988abbcd7206b978028c36f47e.tar.gz cowboy-6e8b907ae25a7a988abbcd7206b978028c36f47e.tar.bz2 cowboy-6e8b907ae25a7a988abbcd7206b978028c36f47e.zip |
Pass the HTTP/2 switch_protocol event to stream handlers
To accomplish this the code for sending the 101 response was
moved to the cowboy_http2 module.
Diffstat (limited to 'doc/src/manual/cowboy_stream.asciidoc')
-rw-r--r-- | doc/src/manual/cowboy_stream.asciidoc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_stream.asciidoc b/doc/src/manual/cowboy_stream.asciidoc index d332752..de4c8e0 100644 --- a/doc/src/manual/cowboy_stream.asciidoc +++ b/doc/src/manual/cowboy_stream.asciidoc @@ -18,6 +18,11 @@ Cowboy calls the stream handler for nearly all events related to a stream. Exceptions vary depending on the protocol. +Extra care must be taken when implementing stream handlers +to ensure compatibility. While some modification of the +events and commands is allowed, it is generally not a good +idea to completely omit them. + == Callbacks Stream handlers must implement the following interface: |