public abstract class WebSockets extends Object
Constructor and Description |
---|
WebSockets() |
Modifier and Type | Method and Description |
---|---|
static <T> WebSocketConnector<T> |
websocket(Context context,
Function<WebSocket,T> openAction) |
static void |
websocket(Context context,
WebSocketHandler<?> handler) |
static void |
websocketBroadcast(Context context,
org.reactivestreams.Publisher<String> broadcaster) |
public static <T> WebSocketConnector<T> websocket(Context context, Function<WebSocket,T> openAction)
public static void websocket(Context context, WebSocketHandler<?> handler)