Thoth
A functional, expressive, asynchronous C++26 webdev library
Loading...
Searching...
No Matches
_base.hpp
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include <vector>
4
6 using HeaderKey = std::string;
7 using HeaderKeyRef = std::string_view;
8
9 using HeaderValue = std::string;
10 using HeaderValueRef = std::string_view;
11
12 // Well, it really maps to something, but isn't a map. The name will be maintained
13 // to not break the naming convention of this lib.
14 using HeaderPair = std::pair<HeaderKey, HeaderValue>;
15 using HeaderPairRef = std::pair<HeaderKeyRef, HeaderValueRef>;
16 using MapType = std::vector<HeaderPair>;
17
18}
Definition _base.hpp:5
std::string_view HeaderKeyRef
Definition _base.hpp:7
std::pair< HeaderKeyRef, HeaderValueRef > HeaderPairRef
Definition _base.hpp:15
std::string HeaderKey
Definition _base.hpp:6
std::vector< HeaderPair > MapType
Definition _base.hpp:16
std::string HeaderValue
Definition _base.hpp:9
std::pair< HeaderKey, HeaderValue > HeaderPair
Definition _base.hpp:14
std::string_view HeaderValueRef
Definition _base.hpp:10