Beast Logo

PrevUpHomeNext

websocket::stream::handshake

Send an HTTP WebSocket Upgrade request and receive the response.

void
handshake(
    string_view const& host,
    string_view const& target);

void
handshake(
    response_type& res,
    string_view const& host,
    string_view const& target);

void
handshake(
    string_view const& host,
    string_view const& target,
    error_code& ec);

void
handshake(
    response_type& res,
    string_view const& host,
    string_view const& target,
    error_code& ec);

PrevUpHomeNext