Documentation
¶
Overview ¶
package spdy implements a HTTP server on top of code.google.com/p/go.net/spdy.
This package provides a http server that uses the TLSNextProto feature in net/http to serve connections that where negotiated to be SPDY 3. The HTTPS fallback feature can be disabled by providing a TLS config which does not include http/1.1 in its valid NPN protocols.
TODO: Server Push, Client Certificate validation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server defines the parameters for running a SPDY server.
func (*Server) ListenAndServeTLS ¶
ListenAndServeTLS starts a SPDY forwarding server, using the parameters in the embedded http.Server.
certFile and keyFile must be filenames to a pair of valid certificate and key.
Directories
¶
Path | Synopsis |
---|---|
Package spdy implements the SPDY protocol (currently SPDY/3), described in http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3.
|
Package spdy implements the SPDY protocol (currently SPDY/3), described in http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3. |