From 240da3f2d9bc02611b23c1ea0e7bbe8db9d99cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 15 Nov 2018 18:53:42 +0100 Subject: Add the set_options stream handler command The first two options to benefit from this are the cowboy_compress_h options. --- src/cowboy_stream.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cowboy_stream.erl') 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]). -- cgit v1.2.3