Represents a HTTPS endpoint. More...
#include <HttpsEndpoint.hpp>
Public Member Functions | |
HttpsEndpoint (int port) | |
Constructs an HTTPS endpoint on the given port number. | |
HttpsEndpoint (const std::string &ip, int port) | |
Constructs an HTTPS endpoint on the given IP address and port number. | |
std::string | asString () const |
Returns a string representation of the HTTP endpoint. | |
![]() | |
TcpEndpoint (int port) | |
Constructs a TcpEndpoint from a port number. The IP address defaults to 127.0.0.1 . | |
TcpEndpoint (const std::string &ip, int port) | |
Constructs a TcpEndpoint from an IP address and port number. | |
std::string | getIp () const |
Gets the IP address of the TcpEndpoint. | |
int | getPort () const |
Gets the port number of the TcpEndpoint. | |
std::string | asString () const |
Returns a string representation of the TcpEndpoint. | |
Represents a HTTPS endpoint.