| Interface | Description |
|---|---|
| DefaultWebSocketSession |
Default websocket session with ping-pong and timeout processing and built-in
DefaultWebSocketSession.getCloseReason population |
| WebSocketInternalAPI |
API marked with this annotation is internal and not intended to be used outside of ktor
It is not recommended to use it as it may be changed in the future without notice or
it may be too low-level so could damage your data.
|
| WebSocketSession |
Represents a web socket session between two peers
|
| Class | Description |
|---|---|
| CloseReason |
Websocket close reason
|
| DefaultWebSocketSessionImpl |
Default web socket session implementation that handles ping-pongs, close sequence and frame fragmentation
|
| DefaultWebSocketSessionImplKt | |
| Frame |
A frame received or ready to be sent. It is not reusable and not thread-safe
|
| FrameKt | |
| FrameParser | |
| PingPongKt | |
| RawWebSocket |
Represents a RAW web socket session
|
| RawWebSocketKt | |
| Serializer | |
| SimpleFrameCollector | |
| UtilsKt | |
| WebSocketReader |
Class that continuously reads a byteChannel and
converts into Websocket
class Frame exposing them in WebSocketReader.getIncoming. |
| WebSocketSessionKt | |
| WebSocketWriter |
Class that processes written
WebSocketWriter.getOutgoing Websocket class Frame,
serializes them and writes the bits into the writeChannel. |
| Enum | Description |
|---|---|
| FrameType |
Frame types enum
|