roar
Loading...
Searching...
No Matches
Public Attributes | List of all members
Roar::WebsocketClient::ConnectParameters Struct Reference

#include <websocket_client.hpp>

Collaboration diagram for Roar::WebsocketClient::ConnectParameters:

Public Attributes

std::string const & host
 The host to connect to.
 
std::string const & port
 The port to connect.
 
std::string path = "/"
 The path to connect to.
 
std::chrono::seconds timeout = defaultTimeout
 A connect and ssl handshake timeout.
 
std::unordered_map< boost::beast::http::field, std::string > headers = {}
 

Member Data Documentation

◆ headers

std::unordered_map<boost::beast::http::field, std::string> Roar::WebsocketClient::ConnectParameters::headers = {}

◆ host

std::string const& Roar::WebsocketClient::ConnectParameters::host

The host to connect to.

◆ path

std::string Roar::WebsocketClient::ConnectParameters::path = "/"

The path to connect to.

◆ port

std::string const& Roar::WebsocketClient::ConnectParameters::port

The port to connect.

◆ timeout

std::chrono::seconds Roar::WebsocketClient::ConnectParameters::timeout = defaultTimeout

A connect and ssl handshake timeout.


The documentation for this struct was generated from the following file: