diff options
Diffstat (limited to 'net/http/http_stream_factory.h')
-rw-r--r-- | net/http/http_stream_factory.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/http/http_stream_factory.h b/net/http/http_stream_factory.h index 8c726bb..ff32589 100644 --- a/net/http/http_stream_factory.h +++ b/net/http/http_stream_factory.h @@ -230,6 +230,16 @@ class NET_EXPORT HttpStreamFactory { // Check if a HostPortPair is excluded from using spdy. static bool HasSpdyExclusion(const HostPortPair& endpoint); + // Sets http/1.1, spdy/2, spdy/2.1 and spdy/3 as the protocols supported. + static void EnableSPDY3(); + + // Sets http/1.1, spdy/2 and spdy/2.1 as the protocols supported. + // If flow-control is enabled, received WINDOW_UPDATE and SETTINGS messages + // are processed and outstanding window size is actually obeyed when sending + // data frames, and WINDOW_UPDATE messages are generated when data is + // consumed. + static void EnableFlowControl(); + // Sets the protocols supported by NPN (next protocol negotiation) during the // SSL handshake as well as by HTTP Alternate-Protocol. static void SetNextProtos(const std::vector<std::string>& value); |