4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-01 18:16:17 +00:00

Add initial WhatsApp support (#711)

This commit is contained in:
Krzysiek Madejski
2019-02-21 20:28:13 +01:00
committed by Wim
parent 46f4bbb3b5
commit 55e79063d6
83 changed files with 24231 additions and 3500 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