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:
parent
fbfec873f6
commit
240da3f2d9
5 changed files with 151 additions and 39 deletions
|
@ -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]).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue