libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
|
Abort controller for cancelling requests. More...
#include <fetch.h>
Data Fields | |
bool | aborted |
const char * | reason |
void(* | on_abort )(void *userdata) |
void * | userdata |
Abort controller for cancelling requests.
Used to signal cancellation of ongoing fetch operations.
bool fetch_abort_controller::aborted |
Whether the operation was aborted
void(* fetch_abort_controller::on_abort) (void *userdata) |
Callback when aborted
const char* fetch_abort_controller::reason |
Reason for abortion
void* fetch_abort_controller::userdata |
User data for callback