Skip to content

raisim::server::websocket::UpgradeRequest ​

struct · #include <raisim/server/WebSocket.hpp>

What the server needs from a WebSocket upgrade request.

Public attributes ​

path ​

cpp
std::string path

key ​

cpp
std::string key

origin ​

cpp
std::string origin

Empty when the client sent none, as clients outside browsers may.

protocol ​

cpp
std::string protocol

"binary" when the client offered that subprotocol, which the server then confirms; a browser drops a connection whose offered subprotocols all go unanswered.

RaiSim — physics for robotics and AI.