|
KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
|
#include <h2_client.h>

Data Fields | |
| int | status |
| KlH2ClientHeader * | headers |
| int | num_headers |
| int | headers_cap |
| char * | body |
| size_t | body_len |
| size_t | body_cap |
Accumulated response from a single stream.
| int KlH2ClientResponse::status |
HTTP status code.
| KlH2ClientHeader* KlH2ClientResponse::headers |
Response headers array.
| int KlH2ClientResponse::num_headers |
Number of response headers.
| int KlH2ClientResponse::headers_cap |
Allocated capacity of headers array.
| char* KlH2ClientResponse::body |
Response body (allocator-owned).
| size_t KlH2ClientResponse::body_len |
Length of response body in bytes.
| size_t KlH2ClientResponse::body_cap |
Allocated capacity of body buffer.