diff options
author | Loïc Hoguin <[email protected]> | 2019-09-26 10:43:12 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-09-26 10:53:00 +0200 |
commit | d86d55c1f90b37d991e20ad0f1ac37b1e38b36e1 (patch) | |
tree | 23a34ec9158d6abfddc6142923535304c02662c1 /doc/src/manual/gun.info.asciidoc | |
parent | d9a970be90d0105af215531d74809878f9c21338 (diff) | |
download | gun-d86d55c1f90b37d991e20ad0f1ac37b1e38b36e1.tar.gz gun-d86d55c1f90b37d991e20ad0f1ac37b1e38b36e1.tar.bz2 gun-d86d55c1f90b37d991e20ad0f1ac37b1e38b36e1.zip |
Add a function to change the connection owner
While at it the gun:info/1 function has been fixed to work
even when we are in the not_connected state, and the owner
is now also returned.
Diffstat (limited to 'doc/src/manual/gun.info.asciidoc')
-rw-r--r-- | doc/src/manual/gun.info.asciidoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/src/manual/gun.info.asciidoc b/doc/src/manual/gun.info.asciidoc index cf861c9..edd97f6 100644 --- a/doc/src/manual/gun.info.asciidoc +++ b/doc/src/manual/gun.info.asciidoc @@ -12,6 +12,7 @@ info(ConnPid) -> Info ConnPid :: pid() Info :: #{ + owner => pid(), socket => inet:socket() | ssl:sslsocket(), transport => tcp | tls, protocol => http | http2 | socks | ws, @@ -45,6 +46,7 @@ the connection. == Changelog +* *2.0*: The value `owner` was added. * *1.3*: The values `socket`, `transport`, `protocol`, `origin_host`, `origin_port` and `intermediaries` were added. * *1.0*: Function introduced. |