D++ (DPP)
C++ Discord API Bot Library
dpp::http_connect_info Struct Reference

Represents a HTTP scheme, hostname and port split into parts for easy use in https_client. More...

+ Collaboration diagram for dpp::http_connect_info:

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...
 

Detailed Description

Represents a HTTP scheme, hostname and port split into parts for easy use in https_client.

Member Data Documentation

◆ hostname

std::string dpp::http_connect_info::hostname

The request hostname part, e.g. 'discord.com'.

◆ is_ssl

bool dpp::http_connect_info::is_ssl

True if the connection should be SSL.

◆ port

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.

◆ scheme

std::string dpp::http_connect_info::scheme

The request scheme, e.g. 'https' or 'http'.

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0