@FunctionalInterface public interface CloseHandler
Modifier and Type | Method and Description |
---|---|
void |
close(okhttp3.WebSocket webSocket,
int code,
String reason)
关闭连接处理
|
void close(okhttp3.WebSocket webSocket, int code, String reason)
webSocket
- webSocketcode
- codereason
- reasonCopyright © 2024. All rights reserved.