[−][src]Function romp::web_socket::ws_headers::ws_validate_hdrs
pub fn ws_validate_hdrs(message: &StompMessage) -> Result<(), WsUpgradeError>
Validate all the HTTP headers required to upgrade to WebSockets, spec writers had a field day here!
All that is really necessary is GET / HTTP/1.1\nUpgrade:websocket\n\n