1
0
Fork 0

Update golang.org/x/net dependency

This commit is contained in:
Michael 2018-06-28 17:58:04 +02:00 committed by Traefiker Bot
parent d5436fb28b
commit ba8c9295ac
23 changed files with 934 additions and 422 deletions

View file

@ -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