C++ edjLibrary SDK
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations
http.hpp File Reference
#include <string>
#include <vector>
#include <map>
#include <strings.h>
#include "utils.hpp"

Go to the source code of this file.

Classes

struct  edjx::http::CaseInsensitiveKeys
 A map<string, ...> comparator that achieves case-insensitive keys. More...
 
class  edjx::http::Uri
 Class that represents a URL. More...
 

Namespaces

namespace  edjx
 
namespace  edjx::http
 Data types used by HTTP-related functions.
 

Typedefs

typedef std::map< std::string, std::vector< std::string >, CaseInsensitiveKeys > edjx::http::HttpHeaders
 A map of HttpHeaders where keys are case-insensitive header names. More...
 
typedef uint16_t edjx::http::HttpStatusCode
 HTTP status code (e.g., value 200 means OK, value 404 means Not Found) More...
 

Enumerations

enum class  edjx::http::HttpVersion {
  edjx::http::HTTP_09 , edjx::http::HTTP_10 , edjx::http::HTTP_11 , edjx::http::HTTP_2 ,
  edjx::http::HTTP_3
}
 Enum containing an HTTP version. More...
 
enum class  edjx::http::HttpMethod {
  edjx::http::NONE = 0 , edjx::http::GET = 1 , edjx::http::HEAD = 2 , edjx::http::POST = 3 ,
  edjx::http::PUT = 4 , edjx::http::DELETE = 5 , edjx::http::CONNECT = 6 , edjx::http::OPTIONS = 7 ,
  edjx::http::TRACE = 8 , edjx::http::PATCH = 9
}
 Enum containing a number of common HTTP methods. More...