Documentation ¶
Index ¶
Constants ¶
View Source
const HeaderSpdy31 = "SPDY/3.1"
HeaderSpdy31 is used to specify SPDY/3.1 as the stream protocol.
Variables ¶
This section is empty.
Functions ¶
func NewResponseUpgrader ¶
func NewResponseUpgrader() httpstream.ResponseUpgrader
NewResponseUpgrader returns a new httpstream.ResponseUpgrader that is capable of upgrading HTTP responses using SPDY/3.1 via the spdystream package.
func NewServerConnection ¶
func NewServerConnection(conn net.Conn, newStreamHandler httpstream.NewStreamHandler) (httpstream.Connection, error)
NewServerConnection creates a new SPDY server connection. newStreamHandler will be invoked when the server receives a newly created stream from the client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.