public class RxWebSockets
extends java.lang.Object
| Constructor and Description |
|---|
RxWebSockets(com.appunite.websocket.NewWebSocket newWebSocket,
java.net.URI uri)
Create instance of
RxWebSockets |
| Modifier and Type | Method and Description |
|---|---|
rx.Observable<RxEvent> |
webSocketObservable()
Returns observable that connected to a websocket and returns
RxJsonEvent's |
public RxWebSockets(@Nonnull
com.appunite.websocket.NewWebSocket newWebSocket,
@Nonnull
java.net.URI uri)
RxWebSocketsnewWebSocket - NewWebSocket instanceuri - uri for websocket (eg. "wss://some.server/endpoint")@Nonnull public rx.Observable<RxEvent> webSocketObservable()
RxJsonEvent's