WebSocketServerSession

interface WebSocketServerSession : WebSocketSession

Represents a server-side web socket session

Functions

Link copied to clipboard
abstract suspend fun flush()
Link copied to clipboard
open suspend fun send(frame: Frame)
Link copied to clipboard
abstract fun terminate()

Properties

Link copied to clipboard
abstract val call: ApplicationCall

Associated received call that originating this session

Link copied to clipboard
abstract val coroutineContext: CoroutineContext
Link copied to clipboard
abstract val extensions: List<WebSocketExtension<*>>
Link copied to clipboard
abstract val incoming: ReceiveChannel<Frame>
Link copied to clipboard
abstract var masking: Boolean
Link copied to clipboard
abstract var maxFrameSize: Long
Link copied to clipboard
abstract val outgoing: SendChannel<Frame>

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
val WebSocketServerSession.application: Application

An application that started this web socket session