OpenTTD Source 20241224-master-gee860a5c8e
HTTPThreadSafeCallback::Callback Class Reference

Entries on the queue for later handling. More...

Public Member Functions

 Callback (std::unique_ptr< char[]> data, size_t length)
 

Data Fields

std::unique_ptr< char[]> data
 
size_t length
 
bool failure
 

Detailed Description

Entries on the queue for later handling.

Definition at line 25 of file http_shared.h.

Constructor & Destructor Documentation

◆ Callback() [1/2]

HTTPThreadSafeCallback::Callback::Callback ( std::unique_ptr< char[]>  data,
size_t  length 
)
inline

Definition at line 27 of file http_shared.h.

◆ Callback() [2/2]

HTTPThreadSafeCallback::Callback::Callback ( )
inline

Definition at line 28 of file http_shared.h.

Field Documentation

◆ data

std::unique_ptr<char[]> HTTPThreadSafeCallback::Callback::data

Definition at line 30 of file http_shared.h.

◆ failure

bool HTTPThreadSafeCallback::Callback::failure

Definition at line 32 of file http_shared.h.

◆ length

size_t HTTPThreadSafeCallback::Callback::length

Definition at line 31 of file http_shared.h.


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