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

HTTP headers container. More...

#include <fetch.h>

Data Fields

char ** keys
 
char ** values
 
size_t count
 
size_t capacity
 

Detailed Description

HTTP headers container.

Stores key-value pairs of HTTP headers with case-insensitive keys.

Note
Memory: Caller owns the headers and must call fetch_headers_free()

Field Documentation

◆ capacity

size_t fetch_headers::capacity

Allocated capacity

◆ count

size_t fetch_headers::count

Number of headers

◆ keys

char** fetch_headers::keys

Header names

◆ values

char** fetch_headers::values

Header values


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