new Websocket(Client) Connect to endpoint Parameters: Name Type Description Client Client Parent Client Source: objects/Websocket.js, line 65