Represents a HTTPS endpoint. More...
#include <HttpsEndpoint.hpp>
Public Member Functions | |
HttpsEndpoint (int port) | |
Constructs an HTTPS endpoint on the given port number. More... | |
HttpsEndpoint (const std::string &ip, int port) | |
Constructs an HTTPS endpoint on the given IP address and port number. More... | |
HttpsEndpoint (const std::string &ip, int port, const std::string &urlPath) | |
Constructs an HTTPS endpoint on the given IP address, port number and URL path component. More... | |
std::string | asString () const |
Returns a string representation of the HTTP endpoint. More... | |
Public Member Functions inherited from RCF::TcpEndpoint | |
TcpEndpoint (int port) | |
Constructs a TcpEndpoint from a port number. The IP address defaults to 127.0.0.1 . More... | |
TcpEndpoint (const std::string &ip, int port) | |
Constructs a TcpEndpoint from an IP address and port number. More... | |
std::string | getIp () const |
Gets the IP address of the TcpEndpoint. More... | |
int | getPort () const |
Gets the port number of the TcpEndpoint. More... | |
std::string | asString () const |
Returns a string representation of the TcpEndpoint. More... | |
Represents a HTTPS endpoint.
RCF implements HTTPS endpoints with an HTTPS envelope around the native RCF protocol. The primary use case for HttpsEndpoint is client/server communication that may need to pass through forward or reverse HTTP proxies.
RCF::HttpsEndpoint::HttpsEndpoint | ( | int | port | ) |
Constructs an HTTPS endpoint on the given port number.
RCF::HttpsEndpoint::HttpsEndpoint | ( | const std::string & | ip, |
int | port | ||
) |
Constructs an HTTPS endpoint on the given IP address and port number.
RCF::HttpsEndpoint::HttpsEndpoint | ( | const std::string & | ip, |
int | port, | ||
const std::string & | urlPath | ||
) |
Constructs an HTTPS endpoint on the given IP address, port number and URL path component.
|
virtual |
Returns a string representation of the HTTP endpoint.
Implements RCF::Endpoint.