Interface: WebSocketOptions
Defined in: service-core/src/http/types.ts:174
WebSocket options shared by every router implementation. Names follow uWebSockets.js' WebSocketBehavior.
Indexable
[
key:string]:any
Properties
idleTimeout?
optionalidleTimeout?:number
Defined in: service-core/src/http/types.ts:178
Seconds without any received data after which the connection is closed. 0 disables the timeout.
maxBackpressure?
optionalmaxBackpressure?:number
Defined in: service-core/src/http/types.ts:180
Maximum number of bytes that may be queued for sending before further messages are dropped.
maxPayloadLength?
optionalmaxPayloadLength?:number
Defined in: service-core/src/http/types.ts:176
Maximum size of a single incoming message, in bytes. A larger message closes the connection.