Thoth
A functional, expressive, asynchronous C++26 webdev library
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
_base.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <string>
3
#include <vector>
4
5
namespace
Thoth::Http::NHeaders
{
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
}
Thoth::Http::NHeaders
Definition
_base.hpp:5
Thoth::Http::NHeaders::HeaderKeyRef
std::string_view HeaderKeyRef
Definition
_base.hpp:7
Thoth::Http::NHeaders::HeaderPairRef
std::pair< HeaderKeyRef, HeaderValueRef > HeaderPairRef
Definition
_base.hpp:15
Thoth::Http::NHeaders::HeaderKey
std::string HeaderKey
Definition
_base.hpp:6
Thoth::Http::NHeaders::MapType
std::vector< HeaderPair > MapType
Definition
_base.hpp:16
Thoth::Http::NHeaders::HeaderValue
std::string HeaderValue
Definition
_base.hpp:9
Thoth::Http::NHeaders::HeaderPair
std::pair< HeaderKey, HeaderValue > HeaderPair
Definition
_base.hpp:14
Thoth::Http::NHeaders::HeaderValueRef
std::string_view HeaderValueRef
Definition
_base.hpp:10
include
Thoth
Http
NHeaders
_base.hpp
Generated by
1.9.8