13#include <event2/buffer.h>
14#include <event2/event.h>
15#include <event2/http.h>
16#include <event2/http_struct.h>
A combination of a network address (CNetAddr) and a (TCP) port.
std::string ToStringAddrPort() const
std::string ConsumeRandomLengthString(size_t max_length)
Helper class that manages an interrupt flag, and allows a thread or signal to interrupt another threa...
std::string RequestMethodString(HTTPRequest::RequestMethod m)
HTTP request method as string - use for logging only.
int evhttp_parse_headers_(struct evhttp_request *, struct evbuffer *)
int evhttp_parse_firstline_(struct evhttp_request *, struct evbuffer *)
std::vector< B > ConsumeRandomLengthByteVector(FuzzedDataProvider &fuzzed_data_provider, const std::optional< size_t > &max_length=std::nullopt) noexcept
std::string ToLower(std::string_view str)
Returns the lowercase equivalent of the given string.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
FuzzedDataProvider & fuzzed_data_provider