public interface WebSocketSession
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
close(int code,
String reason) |
io.purplejs.core.value.ScriptValue |
getAttributes() |
String |
getGroup() |
String |
getId() |
Object |
getRaw() |
String |
getSubProtocol() |
boolean |
isOpen() |
void |
send(ByteSource bytes) |
void |
send(String message) |
String getId()
String getGroup()
io.purplejs.core.value.ScriptValue getAttributes()
boolean isOpen()
String getSubProtocol()
void send(String message)
void send(ByteSource bytes)
void close()
void close(int code,
String reason)
Object getRaw()