idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
types.hpp File Reference

Common HTTP types. More...

#include <string>
#include "sdkconfig.h"

Go to the source code of this file.

Namespaces

namespace  idfxx
 
namespace  idfxx::http
 

Enumerations

enum class  idfxx::http::method : int {
  idfxx::http::get = 0 ,
  idfxx::http::post = 1 ,
  idfxx::http::put = 2 ,
  idfxx::http::patch = 3 ,
  idfxx::http::delete_ = 4 ,
  idfxx::http::head = 5 ,
  idfxx::http::notify = 6 ,
  idfxx::http::subscribe = 7 ,
  idfxx::http::unsubscribe = 8 ,
  idfxx::http::options = 9 ,
  idfxx::http::copy = 10 ,
  idfxx::http::move = 11 ,
  idfxx::http::lock = 12 ,
  idfxx::http::unlock = 13 ,
  idfxx::http::propfind = 14 ,
  idfxx::http::proppatch = 15 ,
  idfxx::http::mkcol = 16 ,
  idfxx::http::report = 17
}
 HTTP request methods. More...
 
enum class  idfxx::http::auth_type : int {
  idfxx::http::none = 0 ,
  idfxx::http::basic = 1 ,
  idfxx::http::digest = 2
}
 HTTP authentication types. More...
 
enum class  idfxx::http::transport : int {
  idfxx::http::unknown = 0 ,
  idfxx::http::tcp = 1 ,
  idfxx::http::ssl = 2
}
 HTTP transport types. More...
 

Functions

std::string idfxx::to_string (http::method m)
 Returns a string representation of an HTTP method.
 
std::string idfxx::to_string (http::auth_type t)
 Returns a string representation of an HTTP authentication type.
 
std::string idfxx::to_string (http::transport t)
 Returns a string representation of an HTTP transport type.
 

Detailed Description

Common HTTP types.

Definition in file types.hpp.