WebSocketOptions

Websockets configuration options

Report a problem

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

A converter for serialization/deserialization

Link copied to clipboard

Whether masking need to be enabled (useful for security)

Link copied to clipboard

Maximum frame that could be received or sent

Link copied to clipboard

Duration between pings or PINGER_DISABLED to disable pings

Link copied to clipboard
Link copied to clipboard

write/ping timeout after that a connection will be closed

Functions

Link copied to clipboard

Configuration for the incoming and outgoing Frame queues. Both queues are unlimited by default, which may lead to OutOfMemoryError under high backpressure. Some engines don't support suspending limited-size incoming channels — check compatibility before using them.

Link copied to clipboard

Configure WebSocket extensions.