Beast Logo

PrevUpHomeNext

websocket::stream::handshake

Send a HTTP WebSocket Upgrade request and receive the response.

void
handshake(
    boost::string_ref const& host,
    boost::string_ref const& resource);

void
handshake(
    boost::string_ref const& host,
    boost::string_ref const& resource,
    error_code& ec);

PrevUpHomeNext