|
OpenTTD Source 20260704-master-gbf70c61fb8
|
Entries on the queue for later handling. More...
Public Member Functions | |
| Callback (std::unique_ptr< char[]> data, size_t length) | |
| Create the callback. | |
| Callback ()=default | |
| Default constructor for a failed callback. | |
Data Fields | |
| std::unique_ptr< char[]> | data {} |
| The data of the callback. | |
| size_t | length = 0 |
| The length of the data. | |
| bool | failure = true |
| Whether the callback denotes a failure. | |
Entries on the queue for later handling.
Definition at line 23 of file http_shared.h.
|
inline |
Create the callback.
| data | The data of the callback. |
| length | The length of the data. |
Definition at line 30 of file http_shared.h.
| std::unique_ptr<char[]> HTTPThreadSafeCallback::Callback::data {} |
| bool HTTPThreadSafeCallback::Callback::failure = true |
Whether the callback denotes a failure.
Definition at line 36 of file http_shared.h.
Referenced by Callback().
| size_t HTTPThreadSafeCallback::Callback::length = 0 |