Defjs
Core

WebSocketExecuteOptions

WebSocket fields read from RequestOptions for one call.

@defjs/core · Type

Signature

type WebSocketExecuteOptions<
  TIncoming = unknown,
  TOutgoing = unknown,
> = UseWebSocketConfig<TIncoming, TOutgoing>;

See UseWebSocketConfig. heartbeat callbacks are not inferred from the operation; narrow unknown messages yourself.

Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao