Skip to content

WebSocket 客户端

Methods ​

connect() ​

connect(url, options?): Promise<WebSocketConnection>

Parameters ​

url ​

string

options? ​

WebSocketConnectOptions

Returns ​

Promise<WebSocketConnection>

Released under the MIT License with love.