Botan  2.7.0
Crypto and TLS for C++11
Classes | Namespaces | Typedefs | Functions
http_util.h File Reference
#include <botan/types.h>
#include <botan/exceptn.h>
#include <vector>
#include <map>
#include <string>
#include <functional>
#include <chrono>

Go to the source code of this file.

Classes

class  Botan::HTTP::HTTP_Error
 
class  Botan::HTTP::Response
 

Namespaces

 Botan
 
 Botan::HTTP
 

Typedefs

typedef std::function< std::string(const std::string &, const std::string &)> Botan::HTTP::http_exch_fn
 

Functions

Response Botan::HTTP::GET_sync (const std::string &url, size_t allowable_redirects, std::chrono::milliseconds timeout)
 
Response Botan::HTTP::http_sync (http_exch_fn http_transact, const std::string &verb, const std::string &url, const std::string &content_type, const std::vector< uint8_t > &body, size_t allowable_redirects)
 
Response Botan::HTTP::http_sync (const std::string &verb, const std::string &url, const std::string &content_type, const std::vector< uint8_t > &body, size_t allowable_redirects, std::chrono::milliseconds timeout)
 
std::ostream & Botan::HTTP::operator<< (std::ostream &o, const Response &resp)
 
Response Botan::HTTP::POST_sync (const std::string &url, const std::string &content_type, const std::vector< uint8_t > &body, size_t allowable_redirects, std::chrono::milliseconds timeout)
 
std::string Botan::HTTP::url_encode (const std::string &in)