ws:// or wss:// url and returns the connection object. The call yields until the handshake finishes. The returned object carries Send, Close, the OnMessage and OnClose signals, and an IsClosed flag.
Also registered as connect.
Parameters
string
required
A
ws:// or wss:// url.Returns
WebSocket
The connected socket object.