MySQL 9.1.0
Source Code Documentation
|
headers of a HTTP response/request. More...
#include <headers.h>
Public Types | |
using | Map = std::vector< std::pair< std::string, std::string > > |
using | Iterator = Map::iterator |
using | CIterator = Map::const_iterator |
Public Member Functions | |
Headers () | |
Headers (Headers &&h) | |
virtual | ~Headers () |
virtual void | add (const std::string_view &key, std::string &&value) |
virtual void | insert (Iterator it, const std::string_view &key, std::string &&value) |
virtual const std::string * | find (const std::string_view &) const |
virtual const char * | find_cstr (const char *) const |
virtual Iterator | begin () |
virtual Iterator | end () |
virtual CIterator | begin () const |
virtual CIterator | end () const |
virtual uint32_t | size () const |
virtual void | clear () |
Private Member Functions | |
void | remove (const std::string_view &key) |
Private Attributes | |
Map | map_ |
headers of a HTTP response/request.
using http::base::Headers::CIterator = Map::const_iterator |
using http::base::Headers::Iterator = Map::iterator |
using http::base::Headers::Map = std::vector<std::pair<std::string, std::string> > |
|
default |
http::base::Headers::Headers | ( | Headers && | h | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
private |
|
virtual |
|
mutableprivate |