libfetch 0.0.0
A lightweight asynchronous HTTP/1.1 client library implementing a subset of the WHATWG Fetch API.
Loading...
Searching...
No Matches
dns_request Struct Reference

Internal DNS request structure. More...

Data Fields

dns_resolver_tresolver
 
char * hostname
 
char * service
 
dns_callback_t callback
 
void * user_data
 

Detailed Description

Internal DNS request structure.

Contains platform-specific data and common request information. Each platform uses different fields within the union for async operations.

Field Documentation

◆ callback

dns_callback_t dns_request::callback

User callback function

◆ hostname

char* dns_request::hostname

Hostname to resolve (owned)

◆ resolver

dns_resolver_t* dns_request::resolver

Parent resolver instance

◆ service

char* dns_request::service

Service/port string (owned, optional)

◆ user_data

void* dns_request::user_data

User-provided data for callback


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