@FunctionalInterface public interface OnCloseCallback
WebSocket is closed| Modifier and Type | Method and Description |
|---|---|
void |
onClose(WebSocketState socketState,
org.mule.runtime.http.api.ws.WebSocketCloseCode closeCode,
String reason)
Invoked when the given
socket was closed |
void onClose(WebSocketState socketState, org.mule.runtime.http.api.ws.WebSocketCloseCode closeCode, String reason)
socket was closedsocketState - the WebSocketState of the closed socketcloseCode - the close codereason - the reason phraseCopyright © 2024 MuleSoft, Inc.. All rights reserved.