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 539 of file http_server.h.

Field Documentation

◆ auth

Authenticate header.

Definition at line 552 of file http_server.h.

◆ byteCount

size_t byteCount

Definition at line 550 of file http_server.h.

◆ chunkedEncoding

bool_t chunkedEncoding

Definition at line 548 of file http_server.h.

◆ contentLength

size_t contentLength

Definition at line 549 of file http_server.h.

◆ contentType

const char_t* contentType

Definition at line 547 of file http_server.h.

◆ gzipEncoding

bool_t gzipEncoding

Definition at line 555 of file http_server.h.

◆ keepAlive

bool_t keepAlive

Definition at line 543 of file http_server.h.

◆ location

const char_t* location

Definition at line 546 of file http_server.h.

◆ maxAge

uint_t maxAge

Definition at line 545 of file http_server.h.

◆ noCache

bool_t noCache

Definition at line 544 of file http_server.h.

◆ setCookie

Set-Cookie header field.

Definition at line 558 of file http_server.h.

◆ statusCode

uint_t statusCode

HTTP status code.

Definition at line 542 of file http_server.h.

◆ version

uint_t version

HTTP version number.

Definition at line 541 of file http_server.h.


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