Arachne 1.0
Arachne - the perpetual stitcher of Wikidata entities.
Loading...
Searching...
No Matches
arachne::pheidippides::redirect_policy Struct Reference

#include <include/pheidippides/transport.hpp>

Public Attributes

bool follow = false
std::size_t maximum_redirects = 0
bool allow_https_to_http = false
std::vector< std::string > allowed_hosts

Detailed Description

Exact-host redirect policy. Wildcards and implicit hosts are not accepted. Redirects preserve the concrete request method, headers, and body.

Definition at line 53 of file transport.hpp.

Member Data Documentation

◆ allow_https_to_http

bool arachne::pheidippides::redirect_policy::allow_https_to_http = false

Definition at line 56 of file transport.hpp.

◆ allowed_hosts

std::vector<std::string> arachne::pheidippides::redirect_policy::allowed_hosts

Definition at line 57 of file transport.hpp.

◆ follow

bool arachne::pheidippides::redirect_policy::follow = false

Definition at line 54 of file transport.hpp.

◆ maximum_redirects

std::size_t arachne::pheidippides::redirect_policy::maximum_redirects = 0

Definition at line 55 of file transport.hpp.


The documentation for this struct was generated from the following file: