26#ifndef ROUTER_SRC_HTTP_INCLUDE_HTTP_BASE_HEADERS_H_
27#define ROUTER_SRC_HTTP_INCLUDE_HTTP_BASE_HEADERS_H_
51 using Map = std::vector<std::pair<std::string, std::string>>;
55 virtual void add(
const std::string_view &
key, std::string &&value);
57 virtual const std::string *
find(
const std::string_view &)
const;
58 virtual const char *find_cstr(
const char *)
const;
66 virtual uint32_t
size()
const;
76 const std::string_view &
r);
#define HTTP_COMMON_EXPORT
Definition: http_common_export.h:15
Container::const_iterator find(const Container &c, Value &&value)
Definition: generic.h:39
HTTP_COMMON_EXPORT bool compare_case_insensitive(const std::string &l, const std::string_view &r)
Definition: headers.cc:37
Request::Headers Headers
Definition: request.cc:35
Definition: connection.h:56
const char * begin(const char *const c)
Definition: base64.h:44
size_t size(const char *const c)
Definition: base64.h:46
static mysql_service_status_t remove(reference_caching_channel channel, const char *implementation_name) noexcept
Definition: component.cc:137
static mysql_service_status_t clear(reference_caching_channel channel) noexcept
Definition: component.cc:146
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
required string key
Definition: replication_asynchronous_connection_failover.proto:60