Safeheron-SGX-Native-Development-Framework v1.2.0
Loading...
Searching...
No Matches
ssgx_http_t_client.h File Reference
#include <map>
#include <string>
#include "ssgx_http_t_structs.h"

Go to the source code of this file.

Classes

class  ssgx::http_t::Error
 Represents detailed error information, typically from client operations. More...
 
class  ssgx::http_t::Result
 The result class of the client operation stores the response data of the request or the error information of the client operation. More...
 
class  ssgx::http_t::Client
 Client class for making HTTP and HTTPS requests. More...
 

Namespaces

namespace  ssgx
 
namespace  ssgx::http_t
 This module implements the functionalities of both server and client within a Trusted Execution Environment (TEE).
 

Enumerations

enum class  ssgx::http_t::ErrorCode {
  ssgx::http_t::Success = 0 , ssgx::http_t::InvalidParam = 1 , ssgx::http_t::InvalidCall = 2 , ssgx::http_t::InvalidUrl = 3 ,
  ssgx::http_t::SetSeedFailed = 4 , ssgx::http_t::ServerCAError = 5 , ssgx::http_t::SSLConfigFailed = 6 , ssgx::http_t::SSLSetupFailed = 7 ,
  ssgx::http_t::SSLHostWrong = 8 , ssgx::http_t::SSLHandShakeFailed = 9 , ssgx::http_t::VerifyCertFailed = 10 , ssgx::http_t::ConnectFailed = 11 ,
  ssgx::http_t::WriteFailed = 12 , ssgx::http_t::ReadFailed = 13 , ssgx::http_t::MallocFailed = 14 , ssgx::http_t::Unknown = 9999
}
 Error code of the client operation. More...
 

Variables

constexpr int ssgx::http_t::SSGX_HTTP_CLIENT_TIMEOUT = 5