public interface JsonWebSocketSender
RxJsonEventConnected until
RxJsonEventDisconnected| Modifier and Type | Method and Description |
|---|---|
void |
sendObjectMessage(java.lang.Object message)
Send text message (thread safe).
|
void sendObjectMessage(@Nonnull
java.lang.Object message)
throws java.io.IOException,
java.lang.InterruptedException,
com.appunite.websocket.NotConnectedException
message - message to sendjava.io.IOException - when exception occur while sendingjava.lang.InterruptedException - when user call disconnectcom.appunite.websocket.NotConnectedException - when called before onConnect or after onDisconnect