OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::WS::Client::Status Struct Reference

#include <httpcli.hpp>

Public Types

enum  {
  E_SUCCESS = 0 , E_RESOLVE , E_CONNECT , E_TRANSPORT ,
  E_PROXY , E_TCP , E_HTTP , E_EXCEPTION ,
  E_BAD_REQUEST , E_HEADER_SIZE , E_CONTENT_SIZE , E_CONTENT_TYPE ,
  E_EOF_SSL , E_EOF_TCP , E_CONNECT_TIMEOUT , E_GENERAL_TIMEOUT ,
  E_KEEPALIVE_TIMEOUT , E_SHUTDOWN , E_ABORTED , E_HOST_UPDATE ,
  E_BOGON , N_ERRORS
}
 

Static Public Member Functions

static std::string error_str (const int status)
 
static bool is_error (const int status)
 

Detailed Description

Definition at line 94 of file httpcli.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
E_SUCCESS 
E_RESOLVE 
E_CONNECT 
E_TRANSPORT 
E_PROXY 
E_TCP 
E_HTTP 
E_EXCEPTION 
E_BAD_REQUEST 
E_HEADER_SIZE 
E_CONTENT_SIZE 
E_CONTENT_TYPE 
E_EOF_SSL 
E_EOF_TCP 
E_CONNECT_TIMEOUT 
E_GENERAL_TIMEOUT 
E_KEEPALIVE_TIMEOUT 
E_SHUTDOWN 
E_ABORTED 
E_HOST_UPDATE 
E_BOGON 
N_ERRORS 

Definition at line 97 of file httpcli.hpp.

Member Function Documentation

◆ error_str()

static std::string openvpn::WS::Client::Status::error_str ( const int  status)
inlinestatic

Definition at line 124 of file httpcli.hpp.

Here is the caller graph for this function:

◆ is_error()

static bool openvpn::WS::Client::Status::is_error ( const int  status)
inlinestatic

Definition at line 159 of file httpcli.hpp.

Here is the caller graph for this function:

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