summaryrefslogtreecommitdiffstats
path: root/docs/en/gun/1.0/guide/connect/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/gun/1.0/guide/connect/index.html')
-rw-r--r--docs/en/gun/1.0/guide/connect/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/en/gun/1.0/guide/connect/index.html b/docs/en/gun/1.0/guide/connect/index.html
index e91bb7c8..50035be4 100644
--- a/docs/en/gun/1.0/guide/connect/index.html
+++ b/docs/en/gun/1.0/guide/connect/index.html
@@ -72,10 +72,10 @@ a connection using the Gun client.</p></div>
<div class="sect1">
<h2 id="_gun_connections">Gun connections</h2>
<div class="sectionbody">
-<div class="paragraph"><p>Gun is designed with the SPDY and Websocket protocols in mind.
+<div class="paragraph"><p>Gun is designed with the HTTP/2 and Websocket protocols in mind.
They are built for long-running connections that allow concurrent
exchange of data, either in the form of request/responses for
-SPDY or in the form of messages for Websocket.</p></div>
+HTTP/2 or in the form of messages for Websocket.</p></div>
<div class="paragraph"><p>A Gun connection is an Erlang process that manages a socket to
a remote endpoint. This Gun connection is owned by a user
process that is called the <em>owner</em> of the connection, and is
@@ -102,8 +102,8 @@ http://www.gnu.org/software/src-highlite -->
<pre><tt>{<span style="color: #FF6600">ok</span>, <span style="color: #009900">ConnPid</span>} <span style="color: #990000">=</span> <span style="font-weight: bold"><span style="color: #000000">gun:open</span></span>(<span style="color: #FF0000">"example.org"</span>, <span style="color: #993399">443</span>)<span style="color: #990000">.</span></tt></pre></div></div>
<div class="paragraph"><p>If the port given is 443, Gun will attempt to connect using
SSL. The protocol will be selected automatically using the
-NPN extension for TLS. By default Gun supports SPDY/3.1,
-SPDY/3 and HTTP/1.1 when connecting using SSL.</p></div>
+ALPN extension for TLS. By default Gun supports HTTP/2
+and HTTP/1.1 when connecting using SSL.</p></div>
<div class="paragraph"><p>For any other port, Gun will attempt to connect using TCP
and will use the HTTP/1.1 protocol.</p></div>
<div class="paragraph"><p>The transport and protocol used can be overriden using