public interface WebSocket
| Modifier and Type | Interface and Description |
|---|---|
static interface |
WebSocket.Builder |
static interface |
WebSocket.Listener |
| Modifier and Type | Method and Description |
|---|---|
long |
queueSize()
Returns the size in bytes of all messages enqueued to be transmitted to the server.
|
boolean |
send(ByteBuffer buffer)
Send some data
|
boolean |
sendClose(int code,
String reason)
Send a close message
|
boolean send(ByteBuffer buffer)
boolean sendClose(int code,
String reason)
long queueSize()
Copyright © 2015–2022 Red Hat. All rights reserved.