aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-04-18 14:06:34 +0200
committerLoïc Hoguin <[email protected]>2017-04-18 14:06:34 +0200
commit6e8b907ae25a7a988abbcd7206b978028c36f47e (patch)
treee6271be24334110a69313efb286269def76d9f75 /doc
parent3633bceac573df22ebffceff771a6f72247c322f (diff)
downloadcowboy-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')
-rw-r--r--doc/src/manual/cowboy_stream.asciidoc5
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: