diff options
author | Loïc Hoguin <[email protected]> | 2018-11-15 18:53:42 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-15 18:53:42 +0100 |
commit | 240da3f2d9bc02611b23c1ea0e7bbe8db9d99cd8 (patch) | |
tree | 7c59e4ebd16731bab4fd9ac5deddb55a7762cf1c /src/cowboy_stream.erl | |
parent | fbfec873f6026b858c3604d74d88470ce45f4296 (diff) | |
download | cowboy-240da3f2d9bc02611b23c1ea0e7bbe8db9d99cd8.tar.gz cowboy-240da3f2d9bc02611b23c1ea0e7bbe8db9d99cd8.tar.bz2 cowboy-240da3f2d9bc02611b23c1ea0e7bbe8db9d99cd8.zip |
Add the set_options stream handler command
The first two options to benefit from this are the
cowboy_compress_h options.
Diffstat (limited to 'src/cowboy_stream.erl')
-rw-r--r-- | src/cowboy_stream.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_stream.erl b/src/cowboy_stream.erl index 49d1bb2..2dad6d0 100644 --- a/src/cowboy_stream.erl +++ b/src/cowboy_stream.erl @@ -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]). |