ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
http_response Struct Reference

Data Fields

uv_stream_t * stream
http_server_client_t * client
int32_t http2_stream_id
http_protocol_t protocol
unsigned status
http_header_t headers [64u]
size_t header_count
char * body
size_t body_length
size_t max_body_length
bool finished
bool deferred
bool retained
bool cancelled
bool inflight_accounted
http_server_t * server
http_response_t * next_retained
http3_submit_response_fn http3_submit
void * http3_context

Detailed Description

Definition at line 86 of file lib/network/http/server/server.c.

Field Documentation

◆ body

◆ body_length

◆ cancelled

bool http_response::cancelled

◆ client

http_server_client_t* http_response::client

Definition at line 88 of file lib/network/http/server/server.c.

Referenced by http_response_finish(), and http_response_retain().

◆ deferred

bool http_response::deferred

◆ finished

bool http_response::finished

◆ header_count

size_t http_response::header_count

◆ headers

http_header_t http_response::headers[64u]

◆ http2_stream_id

int32_t http_response::http2_stream_id

Definition at line 89 of file lib/network/http/server/server.c.

Referenced by http_response_finish(), and http_response_retain().

◆ http3_context

void* http_response::http3_context

Definition at line 105 of file lib/network/http/server/server.c.

Referenced by http_response_finish(), and http_response_retain().

◆ http3_submit

http3_submit_response_fn http_response::http3_submit

Definition at line 104 of file lib/network/http/server/server.c.

Referenced by http_response_finish(), and http_response_retain().

◆ inflight_accounted

bool http_response::inflight_accounted

Definition at line 101 of file lib/network/http/server/server.c.

Referenced by http_response_finish(), and http_response_retain().

◆ max_body_length

size_t http_response::max_body_length

Definition at line 96 of file lib/network/http/server/server.c.

Referenced by http_response_retain(), and http_response_write().

◆ next_retained

◆ protocol

◆ retained

bool http_response::retained

Definition at line 99 of file lib/network/http/server/server.c.

Referenced by http_response_retain().

◆ server

http_server_t* http_response::server

Definition at line 102 of file lib/network/http/server/server.c.

Referenced by http_response_finish(), and http_response_retain().

◆ status

unsigned http_response::status

◆ stream

uv_stream_t* http_response::stream

Definition at line 87 of file lib/network/http/server/server.c.

Referenced by http_response_retain().


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