jsonrpsee_server::ws

Function is_upgrade_request

source
pub fn is_upgrade_request<B>(request: &Request<B>) -> bool
Expand description

Check if an http::Request looks like a valid websocket upgrade request.