xxhr 1.0.1
Examples
API Reference
xxhr
max_redirects.hpp
1
#ifndef XXHR_MAX_REDIRECTS_H
2
#define XXHR_MAX_REDIRECTS_H
3
4
#include <cstdint>
5
6
namespace
xxhr
{
7
12
class
MaxRedirects
{
13
public
:
15
explicit
MaxRedirects
(
const
std::int32_t number_of_redirects)
16
: number_of_redirects(number_of_redirects) {}
17
18
std::int32_t number_of_redirects;
19
};
20
21
}
// namespace xxhr
22
23
#endif
xxhr::MaxRedirects
HTTP servers can reply with http redirection header, to avoid infinite redirection client application...
Definition:
max_redirects.hpp:12
xxhr
main library namespace
Definition:
api.hpp:20