Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
HTTPFetchRequest Struct Reference

#include <httpfetch.h>

+ Collaboration diagram for HTTPFetchRequest:

Public Member Functions

 HTTPFetchRequest ()
 

Public Attributes

std::string url = ""
 
u64 caller = HTTPFETCH_DISCARD
 
u64 request_id = 0
 
long timeout
 
long connect_timeout
 
bool multipart = false
 
HttpMethod method = HTTP_GET
 
StringMap fields
 
std::string raw_data
 
std::vector< std::string > extra_headers
 
std::string useragent
 

Constructor & Destructor Documentation

◆ HTTPFetchRequest()

HTTPFetchRequest::HTTPFetchRequest ( )

References timeout.

Member Data Documentation

◆ caller

◆ connect_timeout

long HTTPFetchRequest::connect_timeout

◆ extra_headers

std::vector<std::string> HTTPFetchRequest::extra_headers

◆ fields

◆ method

◆ multipart

bool HTTPFetchRequest::multipart = false

◆ raw_data

◆ request_id

◆ timeout

◆ url

◆ useragent

std::string HTTPFetchRequest::useragent

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