D++ (DPP)
C++ Discord API Bot Library
|
Represents a HTTP scheme, hostname and port split into parts for easy use in https_client. More...
#include <httpsclient.h>
Public Attributes | |
bool | is_ssl {} |
True if the connection should be SSL. More... | |
std::string | scheme |
The request scheme, e.g. 'https' or 'http'. More... | |
std::string | hostname |
The request hostname part, e.g. 'discord.com'. More... | |
uint16_t | port {} |
The port number, either determined from the scheme, or from the part of the hostname after a colon ":" character. More... | |
Represents a HTTP scheme, hostname and port split into parts for easy use in https_client.
std::string dpp::http_connect_info::hostname |
The request hostname part, e.g. 'discord.com'.
bool dpp::http_connect_info::is_ssl {} |
True if the connection should be SSL.
uint16_t dpp::http_connect_info::port {} |
The port number, either determined from the scheme, or from the part of the hostname after a colon ":" character.
std::string dpp::http_connect_info::scheme |
The request scheme, e.g. 'https' or 'http'.