Remote Call Framework 3.4
HttpsEndpoint.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2023, Delta V Software. All rights reserved.
6 // https://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF under GPL terms.
12 //
13 // Version: 3.4
14 // Contact: support <at> deltavsoft.com
15 //
16 //******************************************************************************
17 
18 #ifndef INCLUDE_RCF_HTTPSENDPOINT_HPP
19 #define INCLUDE_RCF_HTTPSENDPOINT_HPP
20 
21 #include <RCF/Export.hpp>
22 #include <RCF/TcpEndpoint.hpp>
23 
24 namespace RCF {
25 
27 
30  class RCF_EXPORT HttpsEndpoint : public TcpEndpoint
31  {
32  public:
33 
34  // *** SWIG BEGIN ***
35 
37  HttpsEndpoint(int port);
38 
40  HttpsEndpoint(const std::string & ip, int port);
41 
43  HttpsEndpoint(const std::string & ip, int port, const std::string & urlPath);
44 
45  // *** SWIG END ***
46 
48  std::string asString() const;
49 
50  ServerTransportUniquePtr createServerTransport() const;
51  ClientTransportUniquePtr createClientTransport() const;
52  EndpointPtr clone() const;
53 
54  std::string getUrlPath() const;
55 
56  private:
57  std::string mUrlPath;
58  };
59 
60 } // namespace RCF
61 
62 #endif // INCLUDE_RCF_HTTPSENDPOINT_HPP
Represents a HTTPS endpoint.
Definition: HttpsEndpoint.hpp:30
std::shared_ptr< Endpoint > EndpointPtr
Reference counted wrapper for RCF::Endpoint.
Definition: RcfFwd.hpp:117
std::unique_ptr< ClientTransport > ClientTransportUniquePtr
Unique pointer wrapper for RCF::ClientTransport.
Definition: RcfFwd.hpp:43
Represents a TCP endpoint.
Definition: TcpEndpoint.hpp:34
Definition: AmiIoHandler.hpp:23