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