From 1f8d51dd2692fc3978080419987bbe4d49a41a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 23 Aug 2017 15:07:40 +0200 Subject: Cowboy 2.0.0-rc.2 --- docs/en/gun/1.0/guide/protocols/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'docs/en/gun/1.0/guide/protocols/index.html') diff --git a/docs/en/gun/1.0/guide/protocols/index.html b/docs/en/gun/1.0/guide/protocols/index.html index d14c87fa..38b05bfd 100644 --- a/docs/en/gun/1.0/guide/protocols/index.html +++ b/docs/en/gun/1.0/guide/protocols/index.html @@ -101,25 +101,25 @@ a gun_response message otherwise.

-

SPDY

+

HTTP/2

-

SPDY is a binary protocol based on HTTP, compatible with +

HTTP/2 is a binary protocol based on HTTP, compatible with the HTTP semantics, that reduces the complexity of parsing requests and responses, compresses the HTTP headers and allows the server to push multiple responses to a single request.

-

The SPDY interface is very similar to HTTP/1.1, so this +

The HTTP/2 interface is very similar to HTTP/1.1, so this section instead focuses on the differences in the interface for the two protocols.

-

Because a SPDY server can push multiple responses to a +

Because a HTTP/2 server can push multiple responses to a single request, Gun might send gun_push messages for every push received. They can be ignored safely if they are not needed.

-

The gun:cancel/2 function will use the SPDY stream +

The gun:cancel/2 function will use the HTTP/2 stream cancellation mechanism which allows Gun to inform the server to stop sending a response for this particular request, saving resources.

-

It is not possible to upgrade a SPDY connection to Websocket +

It is not possible to upgrade an HTTP/2 connection to Websocket due to protocol limitations.

@@ -157,7 +157,7 @@ cellspacing="0" cellpadding="4"> Operation HTTP/1.1 - SPDY + HTTP/2 Websocket @@ -268,7 +268,7 @@ cellspacing="0" cellpadding="4"> Message HTTP/1.1 - SPDY + HTTP/2 Websocket -- cgit v1.2.3