mirror of https://github.com/gorilla/websocket.git
Small typo fix in comment
This commit is contained in:
parent
13e4d0621c
commit
20b4ee30ab
|
@ -88,7 +88,7 @@ func (c *connection) writePump() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// serverWs handles websocket requests from the peer.
|
// serveWs handles websocket requests from the peer.
|
||||||
func serveWs(w http.ResponseWriter, r *http.Request) {
|
func serveWs(w http.ResponseWriter, r *http.Request) {
|
||||||
if r.Method != "GET" {
|
if r.Method != "GET" {
|
||||||
http.Error(w, "Method not allowed", 405)
|
http.Error(w, "Method not allowed", 405)
|
||||||
|
|
Loading…
Reference in New Issue