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)
| 274 | // ServeHTTP helps Kite to satisfy the http.Handler interface. So kite can be |
| 275 | // used as a standard http server. |
| 276 | func (k *Kite) ServeHTTP(w http.ResponseWriter, req *http.Request) { |
| 277 | k.muxer.ServeHTTP(w, req) |
| 278 | } |
| 279 | |
| 280 | func (k *Kite) sockjsHandler(session sockjs.Session) { |
| 281 | defer session.Close(3000, "Go away!") |
no outgoing calls
no test coverage detected