public interface ClientHandshakeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable t,
HttpCarbonResponse response)
Notify error on handshake.
|
void |
onSuccess(WebSocketConnection webSocketConnection,
HttpCarbonResponse response)
Notify the success of the handshake.
|
void onSuccess(WebSocketConnection webSocketConnection, HttpCarbonResponse response)
webSocketConnection - WebSocketConnection for the successful handshake.response - The response message for the handshake request.void onError(Throwable t, HttpCarbonResponse response)
t - error occurred during handshake.response - The response message for the handshake request.Copyright © 2022 WSO2. All rights reserved.