diff options
author | Tomas Abrahamsson <[email protected]> | 2020-09-03 14:07:54 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-10-07 11:25:29 +0200 |
commit | 7d3dffd15c7d773cf48ba493ce733125ebbc9a31 (patch) | |
tree | 9acfefecf66f5938d06aaf7bcbf18aebb9dfed28 /src/gun.erl | |
parent | 0a4fd8fefe811d2dcb2af77ea2f54f74ab50754c (diff) | |
download | gun-7d3dffd15c7d773cf48ba493ce733125ebbc9a31.tar.gz gun-7d3dffd15c7d773cf48ba493ce733125ebbc9a31.tar.bz2 gun-7d3dffd15c7d773cf48ba493ce733125ebbc9a31.zip |
Include content_handlers in opts
Diffstat (limited to 'src/gun.erl')
-rw-r--r-- | src/gun.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gun.erl b/src/gun.erl index bd4ce3d..217133f 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -210,6 +210,7 @@ -type http_opts() :: #{ closing_timeout => timeout(), + content_handlers => gun_content_handler:opt(), flow => pos_integer(), keepalive => timeout(), transform_header_name => fun((binary()) -> binary()), @@ -223,6 +224,7 @@ %% @todo Accept http_opts, http2_opts, and so on. -type http2_opts() :: #{ closing_timeout => timeout(), + content_handlers => gun_content_handler:opt(), flow => pos_integer(), keepalive => timeout(), |