public interface ServerHandshakeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable t)
Notify error on handshake.
|
void |
onSuccess(WebSocketConnection webSocketConnection)
Notify the success of the handshake.
|
void onSuccess(WebSocketConnection webSocketConnection)
webSocketConnection - WebSocketConnection for the successful handshake.void onError(Throwable t)
t - error occurred during handshake.Copyright © 2021 WSO2. All rights reserved.