public interface RxWebSocketSession extends WebSocketSession
WebSocketSession interface for RxJava.EMPTY| Modifier and Type | Method and Description |
|---|---|
Set<? extends RxWebSocketSession> |
getOpenSessions()
The current open sessions.
|
<T> io.reactivex.Flowable<T> |
send(T message,
MediaType mediaType)
Broadcast a message and return a
Flowable. |
close, close, getAttributes, getId, getProtocolVersion, getRequestParameters, getRequestURI, getSubprotocol, getUriVariables, getUserPrincipal, isOpen, isSecure, send, sendAsync, sendAsync, sendSync, sendSyncclear, of, put, putAll, putAll, removeasMap, asMap, asProperties, contains, empty, forEach, getValueType, isEmpty, iterator, names, subMap, subMap, subMap, valuesget, get, get, getforEach, spliteratorSet<? extends RxWebSocketSession> getOpenSessions()
getOpenSessions in interface WebSocketSessionWebSocketSession.getOpenSessions()<T> io.reactivex.Flowable<T> send(T message,
MediaType mediaType)
Flowable.send in interface WebSocketSessionT - The message generic typemessage - The messagemediaType - The media typeFlowable