Botan 3.13.0
Crypto and TLS for C&
http_util.cpp File Reference
#include <botan/internal/http_util.h>
#include <botan/mem_ops.h>
#include <botan/uri.h>
#include <botan/internal/charset.h>
#include <botan/internal/fmt.h>
#include <botan/internal/mem_utils.h>
#include <botan/internal/parsing.h>
#include <botan/internal/socket.h>
#include <limits>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Botan
namespace  Botan::HTTP

Functions

Response Botan::HTTP::GET_sync (const URI &uri, const RequestLimits &limits)
Response Botan::HTTP::http_sync (const http_exch_fn &http_transact, std::string_view verb, const URI &uri, std::string_view content_type, const std::vector< uint8_t > &body, const RequestLimits &limits)
Response Botan::HTTP::http_sync (std::string_view verb, const URI &uri, std::string_view content_type, const std::vector< uint8_t > &body, const RequestLimits &limits)
std::ostream & Botan::HTTP::operator<< (std::ostream &o, const Response &resp)
Response Botan::HTTP::POST_sync (const URI &uri, std::string_view content_type, const std::vector< uint8_t > &body, const RequestLimits &limits)
Response Botan::HTTP::read_response_from_socket (OS::Socket &socket, std::chrono::milliseconds timeout, std::optional< size_t > max_body_size)
std::string Botan::HTTP::url_encode (std::string_view in)