GNU libmicrohttpd 1.0.1
Loading...
Searching...
No Matches
MHD_Reply Struct Reference

#include </builddir/build/BUILD/libmicrohttpd-1.0.1/src/microhttpd/internal.h>

Data Fields

struct MHD_Responseresponse
 
unsigned int responseCode
 
bool responseIcy
 
uint64_t rsp_write_position
 
struct MHD_iovec_track_ resp_iov
 
struct MHD_Reply_Properties props
 

Detailed Description

Reply-specific values.

Meaningful for the current reply only.

Definition at line 1271 of file internal.h.

Field Documentation

◆ props

◆ resp_iov

struct MHD_iovec_track_ MHD_Reply::resp_iov

The copy of iov response. Valid if iovec response is used. Updated during send. Members are allocated in the pool.

Definition at line 1303 of file internal.h.

Referenced by MHD_connection_handle_write(), MHD_send_iovec_(), and try_ready_normal_body().

◆ response

◆ responseCode

unsigned int MHD_Reply::responseCode

HTTP response code. Only valid if response object is already set.

Definition at line 1282 of file internal.h.

Referenced by MHD_connection_handle_idle(), MHD_get_connection_info(), and MHD_queue_response().

◆ responseIcy

bool MHD_Reply::responseIcy

The "ICY" response. Reply begins with the SHOUTcast "ICY" line instead of "HTTP".

Definition at line 1288 of file internal.h.

Referenced by MHD_queue_response().

◆ rsp_write_position

uint64_t MHD_Reply::rsp_write_position

Current write position in the actual response (excluding headers, content only; should be 0 while sending headers).

Definition at line 1295 of file internal.h.

Referenced by MHD_connection_handle_idle(), MHD_connection_handle_write(), MHD_queue_response(), try_ready_chunked_body(), and try_ready_normal_body().


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