vip.ipav.okhttp.ws_manager.IWsManager Maven / Gradle / Ivy
package vip.ipav.okhttp.ws_manager;
import okhttp3.WebSocket;
import okio.ByteString;
public interface IWsManager {
WebSocket getWebSocket();
void startConnect();
void stopConnect();
boolean isWsConnected();
int getCurrentStatus();
void setCurrentStatus(int currentStatus);
boolean sendMessage(String msg);
boolean sendMessage(ByteString byteString);
}