A Discrete-Event Network Simulator
API
http-request.h File Reference
#include <cctype>
#include <cstddef>
#include <cstdint>
#include <algorithm>
#include <functional>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
#include <system_error>
#include <type_traits>
#include <vector>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <errno.h>
+ Include dependency graph for http-request.h:

Go to the source code of this file.

Classes

class  http::Request
 
class  http::RequestError
 
struct  http::Response
 
class  http::ResponseError
 

Namespaces

 http
 

Enumerations

enum class  http::InternetProtocol : std::uint8_t { http::V4 , http::V6 }
 

Functions

std::string http::urlEncode (const std::string &str)