OpenZWave Library  1.6.784
Classes | Namespaces | Macros | Enumerations | Functions
HttpClient.h File Reference
#include <string>
#include <map>
#include <queue>
+ Include dependency graph for HttpClient.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OpenZWave::Internal::Platform::TcpSocket
 a TCP Socket that can optionally be protected via SSLThis represents a TCP Socket that can be encrypted via SSL and is used to connect to a TCP Server (in this case, a HTTP(s) Server More...
 
class  OpenZWave::Internal::Platform::POST
 This class is used for Posting data to a HTTP(s) serverPost some data to a HTTP(s) server. More...
 
struct  OpenZWave::Internal::Platform::Request
 Main class for making a HTTP request to a HTTP(s) serverMake a request to a HTTP Server. More...
 
class  OpenZWave::Internal::Platform::HttpSocket
 a Socket that speaks HTTP protocol.Talk to a HTTP(s) server More...
 
class  OpenZWave::Internal::Platform::SocketSet
 Support Multiple TCP Socket connectionsto Support multiple TCP Socket Connections. More...
 
struct  OpenZWave::Internal::Platform::SocketSet::SocketSetData
 

Namespaces

 OpenZWave
 
 OpenZWave::Internal
 
 OpenZWave::Internal::Platform
 

Macros

#define MINIHTTP_SUPPORT_HTTP
 
#define MINIHTTP_SUPPORT_SOCKET_SET
 

Enumerations

enum  OpenZWave::Internal::Platform::SSLResult {
  OpenZWave::Internal::Platform::SSLR_OK = 0x0, OpenZWave::Internal::Platform::SSLR_NO_SSL = 0x1, OpenZWave::Internal::Platform::SSLR_FAIL = 0x2, OpenZWave::Internal::Platform::SSLR_CERT_EXPIRED = 0x4,
  OpenZWave::Internal::Platform::SSLR_CERT_REVOKED = 0x8, OpenZWave::Internal::Platform::SSLR_CERT_CN_MISMATCH = 0x10, OpenZWave::Internal::Platform::SSLR_CERT_NOT_TRUSTED = 0x20, OpenZWave::Internal::Platform::SSLR_CERT_MISSING = 0x40,
  OpenZWave::Internal::Platform::SSLR_CERT_SKIP_VERIFY = 0x80, OpenZWave::Internal::Platform::SSLR_CERT_FUTURE = 0x100, OpenZWave::Internal::Platform::_SSLR_FORCE32BIT = 0x7fffffff
}
 Result Codes for SSL operations. More...
 
enum  OpenZWave::Internal::Platform::HttpCode { OpenZWave::Internal::Platform::HTTP_OK = 200, OpenZWave::Internal::Platform::HTTP_NOTFOUND = 404 }
 

Functions

bool OpenZWave::Internal::Platform::InitNetwork ()
 Initialize the Network for HTTP requestsInitializes the Network for HTTP requests. More...
 
void OpenZWave::Internal::Platform::StopNetwork ()
 Stop the Network for HTTP requestsStops the Network for HTTP requests and releases resources associated with it. More...
 
bool OpenZWave::Internal::Platform::HasSSL ()
 Indicates if we support HTTPS requestsIndicates if we support HTTPS requests. More...
 
bool OpenZWave::Internal::Platform::SplitURI (const std::string &uri, std::string &host, std::string &file, int &port)
 Split a URL into its different parts/ports etcSplit a URL Into the different parts/ports. More...
 
void OpenZWave::Internal::Platform::URLEncode (const std::string &s, std::string &enc)
 Encode a String suitable for sending as a URL request (eg Get)Encode a String so it can be sent as part of a URL request. More...
 

Macro Definition Documentation

◆ MINIHTTP_SUPPORT_HTTP

#define MINIHTTP_SUPPORT_HTTP

◆ MINIHTTP_SUPPORT_SOCKET_SET

#define MINIHTTP_SUPPORT_SOCKET_SET