Skip to content

SocketFactory

SocketFactory = (url) => WebSocket

Defined in: packages/ws/src/transport.ts:11

Creates the underlying socket. Injected to support alternative runtimes.

string

WebSocket