Function validate_http_server_response

pub fn validate_http_server_response<Body>(
    response: &Response<Body>,
    key: Option<SecWebSocketKey>,
    protocols: Option<SecWebSocketProtocol>,
    extensions: Option<SecWebSocketExtensions>,
) -> Result<AcceptedWebSocketData, ResponseValidateError>
Expand description

Validate the “accept” response from the http server with whom the client is trying to establish a WebSocket connection.