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
Server defines the parameters for running a SPDY server.
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.
|framing||Package spdy implements the SPDY protocol (currently SPDY/3), described in http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3.|