0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Add the set_options stream handler command

The first two options to benefit from this are the
cowboy_compress_h options.
This commit is contained in:
Loïc Hoguin 2018-11-15 18:53:42 +01:00
parent fbfec873f6
commit 240da3f2d9
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
5 changed files with 151 additions and 39 deletions

View file

@ -41,6 +41,7 @@
| {error_response, cowboy:http_status(), cowboy:http_headers(), iodata()}
| {switch_protocol, cowboy:http_headers(), module(), state()}
| {internal_error, any(), human_reason()}
| {set_options, map()}
| {log, logger:level(), io:format(), list()}
| stop].
-export_type([commands/0]).