Update golang.org/x/net dependency
This commit is contained in:
parent
d5436fb28b
commit
ba8c9295ac
23 changed files with 934 additions and 422 deletions
3
vendor/golang.org/x/net/websocket/websocket.go
generated
vendored
3
vendor/golang.org/x/net/websocket/websocket.go
generated
vendored
|
@ -241,7 +241,10 @@ func (ws *Conn) Close() error {
|
|||
return err1
|
||||
}
|
||||
|
||||
// IsClientConn reports whether ws is a client-side connection.
|
||||
func (ws *Conn) IsClientConn() bool { return ws.request == nil }
|
||||
|
||||
// IsServerConn reports whether ws is a server-side connection.
|
||||
func (ws *Conn) IsServerConn() bool { return ws.request != nil }
|
||||
|
||||
// LocalAddr returns the WebSocket Origin for the connection for client, or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue