HttpResponse Struct Reference

HTTP response. More...

#include <http_server.h>

Data Fields

uint_t version
 HTTP version number. More...
 
uint_t statusCode
 HTTP status code. More...
 
bool_t keepAlive
 
bool_t noCache
 
uint_t maxAge
 
const char_tlocation
 
const char_tcontentType
 
bool_t chunkedEncoding
 
size_t contentLength
 
size_t byteCount
 
HttpAuthenticateHeader auth
 Authenticate header. More...
 
bool_t gzipEncoding
 
char_t setCookie [HTTP_SERVER_COOKIE_MAX_LEN+1]
 Set-Cookie header field. More...
 

Detailed Description

HTTP response.

Definition at line 518 of file http_server.h.

Field Documentation

◆ auth

Authenticate header.

Definition at line 531 of file http_server.h.

◆ byteCount

size_t byteCount

Definition at line 529 of file http_server.h.

◆ chunkedEncoding

bool_t chunkedEncoding

Definition at line 527 of file http_server.h.

◆ contentLength

size_t contentLength

Definition at line 528 of file http_server.h.

◆ contentType

const char_t* contentType

Definition at line 526 of file http_server.h.

◆ gzipEncoding

bool_t gzipEncoding

Definition at line 534 of file http_server.h.

◆ keepAlive

bool_t keepAlive

Definition at line 522 of file http_server.h.

◆ location

const char_t* location

Definition at line 525 of file http_server.h.

◆ maxAge

uint_t maxAge

Definition at line 524 of file http_server.h.

◆ noCache

bool_t noCache

Definition at line 523 of file http_server.h.

◆ setCookie

Set-Cookie header field.

Definition at line 537 of file http_server.h.

◆ statusCode

uint_t statusCode

HTTP status code.

Definition at line 521 of file http_server.h.

◆ version

uint_t version

HTTP version number.

Definition at line 520 of file http_server.h.


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