|
libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
|
Internal DNS request structure. More...
Data Fields | |
| dns_resolver_t * | resolver |
| char * | hostname |
| char * | service |
| dns_callback_t | callback |
| void * | user_data |
Internal DNS request structure.
Contains platform-specific data and common request information. Each platform uses different fields within the union for async operations.
| dns_callback_t dns_request::callback |
User callback function
| char* dns_request::hostname |
Hostname to resolve (owned)
| dns_resolver_t* dns_request::resolver |
Parent resolver instance
| char* dns_request::service |
Service/port string (owned, optional)
| void* dns_request::user_data |
User-provided data for callback