Nui
Public Attributes | List of all members
Nui::FetchOptions Struct Reference

#include <fetch_options.hpp>

Public Attributes

std::string method = "GET"
 
std::unordered_map< std::string, std::string > headers = {}
 
std::string body = ""
 
bool verbose = false
 
bool followRedirects = false
 
long maxRedirects = 255
 
bool autoReferer = false
 
bool dontDecodeBody = false
 
bool verifyPeer = true
 
bool verifyHost = true
 

Member Data Documentation

◆ autoReferer

bool Nui::FetchOptions::autoReferer = false

◆ body

std::string Nui::FetchOptions::body = ""

◆ dontDecodeBody

bool Nui::FetchOptions::dontDecodeBody = false

◆ followRedirects

bool Nui::FetchOptions::followRedirects = false

◆ headers

std::unordered_map<std::string, std::string> Nui::FetchOptions::headers = {}

◆ maxRedirects

long Nui::FetchOptions::maxRedirects = 255

◆ method

std::string Nui::FetchOptions::method = "GET"

◆ verbose

bool Nui::FetchOptions::verbose = false

◆ verifyHost

bool Nui::FetchOptions::verifyHost = true

◆ verifyPeer

bool Nui::FetchOptions::verifyPeer = true

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