std1.0.0-beta-7 SafeC docs

std :: http::websocket

Function std::ws_is_upgrade

#include <std/http/websocket.h> source ยท definition

int ws_is_upgrade(const &HttpRequest req)

1 if 'req' asks for a WebSocket upgrade (GET with Upgrade: websocket, Connection: upgrade and a Sec-WebSocket-Key).