RCFProto
 All Classes Functions Typedefs
Public Member Functions | List of all members
RCF::HttpEndpoint Class Reference

Represents a HTTP endpoint. More...

#include <HttpEndpoint.hpp>

Inheritance diagram for RCF::HttpEndpoint:
RCF::TcpEndpoint RCF::Endpoint

Public Member Functions

 HttpEndpoint (int port)
 Constructs an HTTP endpoint on the given port number.
 
 HttpEndpoint (const std::string &ip, int port)
 Constructs an HTTP endpoint on the given IP address and port number.
 
std::string asString () const
 Returns a string representation of the HTTP endpoint.
 
- 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 .
 
 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.
 

Detailed Description

Represents a HTTP endpoint.


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