public class DefaultWebSocketListener
extends okhttp3.WebSocketListener
| Constructor and Description |
|---|
DefaultWebSocketListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onClosed(@NotNull okhttp3.WebSocket webSocket,
int code,
@NotNull java.lang.String reason) |
void |
onClosing(@NotNull okhttp3.WebSocket webSocket,
int code,
@NotNull java.lang.String reason) |
void |
onFailure(@NotNull okhttp3.WebSocket webSocket,
java.lang.Throwable t,
okhttp3.Response response) |
void |
onMessage(@NotNull okhttp3.WebSocket webSocket,
okio.ByteString bytes) |
void |
onMessage(@NotNull okhttp3.WebSocket webSocket,
@NotNull java.lang.String text) |
void |
onOpen(@NotNull okhttp3.WebSocket webSocket,
@NotNull okhttp3.Response response) |
public void onOpen(@NotNull
@NotNull okhttp3.WebSocket webSocket,
@NotNull
@NotNull okhttp3.Response response)
onOpen in class okhttp3.WebSocketListenerpublic void onFailure(@NotNull
@NotNull okhttp3.WebSocket webSocket,
java.lang.Throwable t,
okhttp3.Response response)
onFailure in class okhttp3.WebSocketListenerpublic void onMessage(@NotNull
@NotNull okhttp3.WebSocket webSocket,
@NotNull
@NotNull java.lang.String text)
onMessage in class okhttp3.WebSocketListenerpublic void onMessage(@NotNull
@NotNull okhttp3.WebSocket webSocket,
okio.ByteString bytes)
onMessage in class okhttp3.WebSocketListenerpublic void onClosing(@NotNull
@NotNull okhttp3.WebSocket webSocket,
int code,
@NotNull
@NotNull java.lang.String reason)
onClosing in class okhttp3.WebSocketListenerpublic void onClosed(@NotNull
@NotNull okhttp3.WebSocket webSocket,
int code,
@NotNull
@NotNull java.lang.String reason)
onClosed in class okhttp3.WebSocketListener