Uses of Interface
io.jooby.WebSocket.WriteCallback
-
Uses of WebSocket.WriteCallback in io.jooby
Modifier and TypeFieldDescriptionstatic final WebSocket.WriteCallback
WebSocket.WriteCallback.NOOP
Modifier and TypeMethodDescriptionWebSocket.render
(Object value, WebSocket.WriteCallback callback) Encode a value and send a text message to client.WebSocket.renderBinary
(Object value, WebSocket.WriteCallback callback) Encode a value and send a binary message to client.WebSocket.send
(byte[] message, WebSocket.WriteCallback callback) Send a text message to client.WebSocket.send
(String message, WebSocket.WriteCallback callback) Send a text message to client.WebSocket.sendBinary
(byte[] message, WebSocket.WriteCallback callback) Send a binary message to client.WebSocket.sendBinary
(String message, WebSocket.WriteCallback callback) Send a binary message to client.static Context
Context.websocket
(Context ctx, WebSocket ws, boolean binary, WebSocket.WriteCallback callback) Wrap a HTTP context and make it WebSocket friendly.