Remote Call Framework 3.4
RCF::HttpsEndpoint Class Reference

Represents a HTTPS endpoint. More...

#include <HttpsEndpoint.hpp>

Inheritance diagram for RCF::HttpsEndpoint:
RCF::TcpEndpoint RCF::Endpoint

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ HttpsEndpoint() [1/3]

RCF::HttpsEndpoint::HttpsEndpoint ( int  port)

Constructs an HTTPS endpoint on the given port number.

◆ HttpsEndpoint() [2/3]

RCF::HttpsEndpoint::HttpsEndpoint ( const std::string &  ip,
int  port 
)

Constructs an HTTPS endpoint on the given IP address and port number.

◆ HttpsEndpoint() [3/3]

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.

Member Function Documentation

◆ asString()

std::string RCF::HttpsEndpoint::asString ( ) const
virtual

Returns a string representation of the HTTP endpoint.

Implements RCF::Endpoint.


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