Combined options for the WebSocket server, merging server-level options (from ws library) with client behavior options specific to @ezez/ws-server.
ws
@ezez/ws-server
Includes all options from EZEZServerOptions and ClientOptions.
EZEZServerOptions
ClientOptions
When the TContext generic is specified, defaultContext becomes a required field, used to seed each connected client's context (via structuredClone).
TContext
defaultContext
context
structuredClone
Combined options for the WebSocket server, merging server-level options (from
wslibrary) with client behavior options specific to@ezez/ws-server.Includes all options from
EZEZServerOptionsandClientOptions.When the
TContextgeneric is specified,defaultContextbecomes a required field, used to seed each connected client'scontext(viastructuredClone).