public static class WebSocketSession.DefaultImpls
Represents a web socket session between two peers
| Modifier and Type | Method and Description |
|---|---|
static NonExistentClass |
getDispatcher(WebSocketSession $this)
Deprecated.
|
static java.lang.Object |
send(WebSocketSession $this,
Frame frame,
kotlin.coroutines.experimental.Continuation<? super kotlin.Unit> p)
Enqueue frame, may suspend if outgoing queue is full. May throw an exception if outgoing channel is already
closed so it is impossible to transfer any message. Frames that were sent after close frame could be silently
ignored. Please note that close frame could be sent automatically in reply to a peer close frame unless it is
raw websocket session.
|
public static NonExistentClass getDispatcher(WebSocketSession $this)
Dispatcher to handle io operations
public static java.lang.Object send(WebSocketSession $this, Frame frame, kotlin.coroutines.experimental.Continuation<? super kotlin.Unit> p)
Enqueue frame, may suspend if outgoing queue is full. May throw an exception if outgoing channel is already closed so it is impossible to transfer any message. Frames that were sent after close frame could be silently ignored. Please note that close frame could be sent automatically in reply to a peer close frame unless it is raw websocket session.