Package | Description |
---|---|
org.jooby | |
org.jooby.internal |
Modifier and Type | Method and Description |
---|---|
void |
WebSocket.onClose(WebSocket.Callback<WebSocket.CloseStatus> callback)
Register an close callback to execute when client close the web socket.
|
void |
WebSocket.onMessage(WebSocket.Callback<Mutant> callback)
Register a callback to execute when a new message arrive.
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketImpl.onClose(WebSocket.Callback<WebSocket.CloseStatus> callback) |
void |
WebSocketImpl.onMessage(WebSocket.Callback<Mutant> callback) |
Copyright © 2017. All rights reserved.