DefaultWebSocketServerSession

interface DefaultWebSocketServerSession : WebSocketServerSession

Represents a server-side web socket session with all default implementations

See also

DefaultWebSocketSession

Properties

Link copied to clipboard
abstract val call: <ERROR CLASS>

Associated received call that originating this session

Extensions

Link copied to clipboard
var DefaultWebSocketServerSession.pingInterval: Duration?

Ping interval or null to disable pinger. Please note that pongs will be handled despite this setting.

Link copied to clipboard
var DefaultWebSocketServerSession.timeout: Duration

A timeout to wait for pong reply to ping otherwise the session will be terminated immediately. It doesn't have any effect if pingInterval is null (pinger is disabled).