mirror of https://github.com/gorilla/websocket.git
Fix typo in comment
This commit is contained in:
parent
2dbddebb82
commit
db3e79986d
2
conn.go
2
conn.go
|
@ -801,7 +801,7 @@ func (c *Conn) SetPingHandler(h func(string) error) {
|
||||||
c.handlePing = h
|
c.handlePing = h
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetPongHandler sets then handler for pong messages received from the peer.
|
// SetPongHandler sets the handler for pong messages received from the peer.
|
||||||
// The default pong handler does nothing.
|
// The default pong handler does nothing.
|
||||||
func (c *Conn) SetPongHandler(h func(string) error) {
|
func (c *Conn) SetPongHandler(h func(string) error) {
|
||||||
if h == nil {
|
if h == nil {
|
||||||
|
|
Loading…
Reference in New Issue