Default Web Socket Session
fun DefaultWebSocketSession(session: WebSocketSession, pingIntervalMillis: Long = PINGER_DISABLED, timeoutMillis: Long): DefaultWebSocketSession(source)
Creates DefaultWebSocketSession from a session.
Parameters
session
raw WebSocketSession to wrap.
ping Interval Millis
interval between pings or PINGER_DISABLED to disable.
timeout Millis
timeout for pings.
fun DefaultWebSocketSession(session: WebSocketSession, pingIntervalMillis: Long = PINGER_DISABLED, timeoutMillis: Long, channelsConfig: WebSocketChannelsConfig = WebSocketChannelsConfig.UNLIMITED): DefaultWebSocketSession(source)
Creates DefaultWebSocketSession from a session.
Parameters
session
raw WebSocketSession to wrap.
ping Interval Millis
interval between pings or PINGER_DISABLED to disable.
timeout Millis
timeout for pings.
channels Config
configuration for the I/O frame channels.