Beast Logo

PrevUpHomeNext
websocket::stream::handshake

Send an HTTP WebSocket Upgrade request and receive the response.

void
handshake(
    string_view host,
    string_view target);

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

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

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

PrevUpHomeNext