MCPcopy Index your code
hub / github.com/koding/kite / ServeHTTP

Method ServeHTTP

kite.go:276–278  ·  view source on GitHub ↗

ServeHTTP helps Kite to satisfy the http.Handler interface. So kite can be used as a standard http server.

(w http.ResponseWriter, req *http.Request)

Source from the content-addressed store, hash-verified

274// ServeHTTP helps Kite to satisfy the http.Handler interface. So kite can be
275// used as a standard http server.
276func (k *Kite) ServeHTTP(w http.ResponseWriter, req *http.Request) {
277 k.muxer.ServeHTTP(w, req)
278}
279
280func (k *Kite) sockjsHandler(session sockjs.Session) {
281 defer session.Close(3000, "Go away!")

Callers 1

sockjsHandlerWithRequestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected