| Modifier and Type | Class and Description |
|---|---|
class |
AbstractServerWebSocket
Abstract base class for
ServerWebSocket. |
| Modifier and Type | Method and Description |
|---|---|
ServerWebSocket |
AbstractServerWebSocket.onbinary(Action<ByteBuffer> action) |
ServerWebSocket |
ServerWebSocket.onbinary(Action<ByteBuffer> action)
Attaches an action for the binary frame.
|
ServerWebSocket |
AbstractServerWebSocket.onclose(Action<Void> action) |
ServerWebSocket |
ServerWebSocket.onclose(Action<Void> action)
Attaches an action for the close event.
|
ServerWebSocket |
AbstractServerWebSocket.onerror(Action<Throwable> action) |
ServerWebSocket |
ServerWebSocket.onerror(Action<Throwable> action)
Attaches an action to handle error from various things.
|
ServerWebSocket |
AbstractServerWebSocket.ontext(Action<String> action) |
ServerWebSocket |
ServerWebSocket.ontext(Action<String> action)
Attaches an action for the text frame.
|
ServerWebSocket |
AbstractServerWebSocket.send(ByteBuffer byteBuffer) |
ServerWebSocket |
ServerWebSocket.send(ByteBuffer byteBuffer)
Sends a binary frame through the connection.
|
ServerWebSocket |
AbstractServerWebSocket.send(String data) |
ServerWebSocket |
ServerWebSocket.send(String data)
Sends a text frame through the connection.
|
Copyright © 2015–2019. All rights reserved.