Skip to content

openSocket ​

Function of @v12-engine/engine

ts
export declare function openSocket(url: string): Promise<Transport>;

The player's end of a connection to a server, over a WebSocket: what connect and a server's lobby talk through. Resolves once the connection is open; fails when it cannot be made