WebSocketChannelsConfig

Configuration for incoming and outgoing WebSocket frame channels.

Use this to control backpressure behavior by limiting channel capacities and specifying overflow strategies.

Report a problem

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration for the incoming channel.

Link copied to clipboard

Configuration for the outgoing channel.

Functions

Link copied to clipboard
fun bounded(capacity: Int, onOverflow: ChannelOverflow = ChannelOverflow.SUSPEND): ChannelConfig

A configuration with a specific capacity and onOverflow strategy.

Link copied to clipboard

A configuration with unlimited buffer.