Skip to main content

Interface: WebSocketShimOptions

Defined in: packages/utils/src/websocket-shim.ts:13

Configuration options for creating a WebSocket shim factory.

Properties

headers?

optional headers: Record<string, string>

Defined in: packages/utils/src/websocket-shim.ts:15

Optional headers to include in the WebSocket upgrade request (e.g., for authentication).


maxQueueBytes?

optional maxQueueBytes: number

Defined in: packages/utils/src/websocket-shim.ts:17

Optional maximum number of bytes that can be queued while in CONNECTING state. Defaults to unlimited.