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

#include <httpfetch.h>

+ Collaboration diagram for HTTPFetchResult:

Public Member Functions

 HTTPFetchResult ()=default
 
 HTTPFetchResult (const HTTPFetchRequest &fetch_request)
 

Public Attributes

bool succeeded = false
 
bool timeout = false
 
long response_code = 0
 
std::string data = ""
 
u64 caller = HTTPFETCH_DISCARD
 
u64 request_id = 0
 

Constructor & Destructor Documentation

◆ HTTPFetchResult() [1/2]

HTTPFetchResult::HTTPFetchResult ( )
default

◆ HTTPFetchResult() [2/2]

HTTPFetchResult::HTTPFetchResult ( const HTTPFetchRequest & fetch_request)
inline

Member Data Documentation

◆ caller

u64 HTTPFetchResult::caller = HTTPFETCH_DISCARD

◆ data

◆ request_id

◆ response_code

long HTTPFetchResult::response_code = 0

◆ succeeded

◆ timeout

bool HTTPFetchResult::timeout = false

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