Interface WebSocketServerExtensionHandshaker

    • Method Detail

      • handshakeExtension

        WebSocketServerExtension handshakeExtension​(WebSocketExtensionData extensionData)
        Handshake based on client request. It must failed with null if server cannot handle it.
        Parameters:
        extensionData - the extension configuration sent by the client.
        Returns:
        an initialized extension if handshake phase succeed or null if failed.