diff options
author | Loïc Hoguin <[email protected]> | 2018-08-06 10:46:09 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-08-06 10:46:09 +0200 |
commit | 820456b71fd3ce61df9d5f32280f42cf871ea80b (patch) | |
tree | 61f1279c171ca942bfcd23a13d7f2feed8f36cfd /src | |
parent | c064c6d8fce7499b6ceda28f92199ef1661fb622 (diff) | |
download | gun-820456b71fd3ce61df9d5f32280f42cf871ea80b.tar.gz gun-820456b71fd3ce61df9d5f32280f42cf871ea80b.tar.bz2 gun-820456b71fd3ce61df9d5f32280f42cf871ea80b.zip |
Fix some whitespace
Diffstat (limited to 'src')
-rw-r--r-- | src/gun.erl | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gun.erl b/src/gun.erl index 75dc5b8..115f603 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -96,40 +96,40 @@ | {close, ws_close_code(), iodata()}. -type opts() :: #{ - connect_timeout => timeout(), - http_opts => http_opts(), - http2_opts => http2_opts(), - protocols => [http | http2], - retry => non_neg_integer(), - retry_timeout => pos_integer(), - trace => boolean(), - transport => tcp | tls | ssl, - transport_opts => [gen_tcp:connect_option()] | [ssl:connect_option()], - ws_opts => ws_opts() + connect_timeout => timeout(), + http_opts => http_opts(), + http2_opts => http2_opts(), + protocols => [http | http2], + retry => non_neg_integer(), + retry_timeout => pos_integer(), + trace => boolean(), + transport => tcp | tls | ssl, + transport_opts => [gen_tcp:connect_option()] | [ssl:connect_option()], + ws_opts => ws_opts() }. -export_type([opts/0]). %% @todo Add an option to disable/enable the notowner behavior. -type req_opts() :: #{ - reply_to => pid() + reply_to => pid() }. -export_type([req_opts/0]). -type http_opts() :: #{ - keepalive => timeout(), - transform_header_name => fun((binary()) -> binary()), - version => 'HTTP/1.1' | 'HTTP/1.0' + keepalive => timeout(), + transform_header_name => fun((binary()) -> binary()), + version => 'HTTP/1.1' | 'HTTP/1.0' }. -export_type([http_opts/0]). -type http2_opts() :: #{ - keepalive => timeout() + keepalive => timeout() }. -export_type([http2_opts/0]). %% @todo keepalive -type ws_opts() :: #{ - compress => boolean() + compress => boolean() }. -export_type([ws_opts/0]). |