OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::HTTP::Status Namespace Reference

Enumerations

enum  {
  OK = 200 , Connected = 200 , SwitchingProtocols = 101 , BadRequest = 400 ,
  Unauthorized = 401 , Forbidden = 403 , NotFound = 404 , ProxyAuthenticationRequired = 407 ,
  PreconditionFailed = 412 , InternalServerError = 500 , ProxyError = 502 , ServiceUnavailable = 503
}
 

Functions

const char * to_string (const int status)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OK 
Connected 
SwitchingProtocols 
BadRequest 
Unauthorized 
Forbidden 
NotFound 
ProxyAuthenticationRequired 
PreconditionFailed 
InternalServerError 
ProxyError 
ServiceUnavailable 

Definition at line 18 of file status.hpp.

Function Documentation

◆ to_string()

const char * openvpn::HTTP::Status::to_string ( const int  status)
inline

Definition at line 34 of file status.hpp.

Here is the caller graph for this function: