Skip to content

SocketOptions

Defined in: types.ts:30

socket.io-client connection options, passed through to io(url, options). io overrides the socket factory itself — inject a stub in tests, or supply a pre-bundled io when dynamic import of the optional peer is undesirable.

  • Record<string, unknown>

[key: string]: unknown

optional io?: SocketFactory

Defined in: types.ts:31