diff options
author | Loïc Hoguin <[email protected]> | 2018-10-01 16:16:47 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-10-01 16:16:47 +0200 |
commit | e7dd9f227e46979d8073e71c683395a809b78cb4 (patch) | |
tree | 58b768c20d8235ac5ebf89de6f1cf76ce3e043cb /doc/src/manual | |
parent | 87e279322ba8dd86d6d8ab43f90a1b591ef090d1 (diff) | |
download | gun-1.3.0.tar.gz gun-1.3.0.tar.bz2 gun-1.3.0.zip |
Gun 1.3.01.3.0
Diffstat (limited to 'doc/src/manual')
-rw-r--r-- | doc/src/manual/gun.asciidoc | 2 | ||||
-rw-r--r-- | doc/src/manual/gun.info.asciidoc | 19 |
2 files changed, 19 insertions, 2 deletions
diff --git a/doc/src/manual/gun.asciidoc b/doc/src/manual/gun.asciidoc index 020c8b3..a210635 100644 --- a/doc/src/manual/gun.asciidoc +++ b/doc/src/manual/gun.asciidoc @@ -313,6 +313,8 @@ undocumented and must be set to `gun_ws_h`. == Changelog +* *1.3*: Add the CONNECT destination's `protocols` option and + deprecate the previously introduced `protocol` option. * *1.2*: Introduce the type `connect_destination()`. == See also diff --git a/doc/src/manual/gun.info.asciidoc b/doc/src/manual/gun.info.asciidoc index ca7e47a..afb2333 100644 --- a/doc/src/manual/gun.info.asciidoc +++ b/doc/src/manual/gun.info.asciidoc @@ -12,8 +12,21 @@ info(ConnPid) -> Info ConnPid :: pid() Info :: #{ - sock_ip => inet:ip_address(), - sock_port => inet:port_number() + socket => inet:socket() | ssl:sslsocket(), + transport => tcp | tls, + protocol => http | http2 | ws, + sock_ip => inet:ip_address(), + sock_port => inet:port_number(), + origin_host => inet:hostname() | inet:ip_address(), + origin_port => inet:port_number(), + intermediaries => [Intermediary] +} +Intermediary :: #{ + type => connect, + host => inet:hostname() | inet:ip_address(), + port => inet:port_number(), + transport => tcp | tls, + protocol => http | http2 } ---- @@ -32,6 +45,8 @@ the connection. == Changelog +* *1.3*: The values `socket`, `transport`, `protocol`, `origin_host`, + `origin_port` and `intermediaries` were added. * *1.0*: Function introduced. == Examples |