OpenZWave Library  1.6.1914
Classes | Namespaces | Macros | Enumerations | Functions
HttpClient.h File Reference
#include <string>
#include <map>
#include <queue>

Go to the source code of this file.

Classes

class  OpenZWave::Internal::Platform::TcpSocket
 a TCP Socket that can optionally be protected via SSL More...
 
class  OpenZWave::Internal::Platform::POST
 This class is used for Posting data to a HTTP(s) server. More...
 
struct  OpenZWave::Internal::Platform::Request
 Main class for making a HTTP request to a HTTP(s) server. More...
 
class  OpenZWave::Internal::Platform::HttpSocket
 a Socket that speaks HTTP protocol. More...
 
class  OpenZWave::Internal::Platform::SocketSet
 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 requests. More...
 
void OpenZWave::Internal::Platform::StopNetwork ()
 Stop the Network for HTTP requests. More...
 
bool OpenZWave::Internal::Platform::HasSSL ()
 Indicates 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 etc. 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) More...
 

Macro Definition Documentation

◆ MINIHTTP_SUPPORT_HTTP

#define MINIHTTP_SUPPORT_HTTP

◆ MINIHTTP_SUPPORT_SOCKET_SET

#define MINIHTTP_SUPPORT_SOCKET_SET