KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
Loading...
Searching...
No Matches
Data Fields
KlH2ClientResponse Struct Reference

#include <h2_client.h>

Collaboration diagram for KlH2ClientResponse:
Collaboration graph
[legend]

Data Fields

int status
 
KlH2ClientHeaderheaders
 
int num_headers
 
int headers_cap
 
char * body
 
size_t body_len
 
size_t body_cap
 

Detailed Description

Accumulated response from a single stream.

Field Documentation

◆ status

int KlH2ClientResponse::status

HTTP status code.

◆ headers

KlH2ClientHeader* KlH2ClientResponse::headers

Response headers array.

◆ num_headers

int KlH2ClientResponse::num_headers

Number of response headers.

◆ headers_cap

int KlH2ClientResponse::headers_cap

Allocated capacity of headers array.

◆ body

char* KlH2ClientResponse::body

Response body (allocator-owned).

◆ body_len

size_t KlH2ClientResponse::body_len

Length of response body in bytes.

◆ body_cap

size_t KlH2ClientResponse::body_cap

Allocated capacity of body buffer.


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