spdy: github.com/DanielMorsing/spdy Index | Files | Directories

package spdy

import "github.com/DanielMorsing/spdy"

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

Package Files

doc.go outframer.go server.go session.go stream.go

type Server Uses

type Server struct {
    http.Server
}

Server defines the parameters for running a SPDY server.

func (*Server) ListenAndServeTLS Uses

func (srv *Server) ListenAndServeTLS(certFile, keyFile string) error

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

PathSynopsis
framingPackage spdy implements the SPDY protocol (currently SPDY/3), described in http://www.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3.

Package spdy imports 15 packages (graph). Updated 2016-07-22. Refresh now. Tools for package owners.