aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-26 13:16:56 +0200
committerLoïc Hoguin <[email protected]>2019-09-26 13:20:28 +0200
commit00cc1f385f94823a0684deee001b643091e235b0 (patch)
tree6e5406fb62b71b17b29f1de42ccbe01c8c191547 /doc
parentd86d55c1f90b37d991e20ad0f1ac37b1e38b36e1 (diff)
downloadgun-00cc1f385f94823a0684deee001b643091e235b0.tar.gz
gun-00cc1f385f94823a0684deee001b643091e235b0.tar.bz2
gun-00cc1f385f94823a0684deee001b643091e235b0.zip
Add reply_to option to ws_upgrade; remove notowner entirely
The reply_to option is also propagated when we switch protocols.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/guide/connect.asciidoc4
-rw-r--r--doc/src/guide/http.asciidoc4
-rw-r--r--doc/src/manual/gun_socks_up.asciidoc2
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/guide/connect.asciidoc b/doc/src/guide/connect.asciidoc
index a2c0a28..08f8db2 100644
--- a/doc/src/guide/connect.asciidoc
+++ b/doc/src/guide/connect.asciidoc
@@ -16,10 +16,10 @@ a remote endpoint. This Gun connection is owned by a user
process that is called the _owner_ of the connection, and is
managed by the supervision tree of the `gun` application.
-The owner process communicates with the Gun connection
+Any process can communicate with the Gun connection
by calling functions from the module `gun`. All functions
perform their respective operations asynchronously. The Gun
-connection will send Erlang messages to the owner process
+connection will send Erlang messages to the calling process
whenever needed.
When the remote endpoint closes the connection, Gun attempts
diff --git a/doc/src/guide/http.asciidoc b/doc/src/guide/http.asciidoc
index 382b245..51cb994 100644
--- a/doc/src/guide/http.asciidoc
+++ b/doc/src/guide/http.asciidoc
@@ -15,7 +15,7 @@ Stream references use the Erlang _reference_ data type and
are therefore unique.
Streams can be canceled at any time. This will stop any further
-messages from being sent to the owner process. Depending on
+messages from being sent to the calling process. Depending on
its capabilities, the server will also be instructed to cancel
the request.
@@ -233,7 +233,7 @@ gun:request(ConnPid, "TRACE", "/", [
=== Processing responses
-All data received from the server is sent to the owner
+All data received from the server is sent to the calling
process as a message. First a `gun_response` message is sent,
followed by zero or more `gun_data` messages. If something goes wrong,
a `gun_error` message is sent instead.
diff --git a/doc/src/manual/gun_socks_up.asciidoc b/doc/src/manual/gun_socks_up.asciidoc
index e74f1a9..e65cbff 100644
--- a/doc/src/manual/gun_socks_up.asciidoc
+++ b/doc/src/manual/gun_socks_up.asciidoc
@@ -16,7 +16,7 @@ Protocol :: http | http2 | socks
The Socks connection is up.
-This message informs the owner process that the connection
+This message informs the owner/calling process that the connection
completed through the configured Socks proxy.
If Gun is configured to connect to another Socks server, then the