_HttpConnection Struct Reference

HTTP connection. More...

#include <http_server.h>

Data Fields

HttpServerSettingssettings
 Reference to the HTTP server settings. More...
 
HttpServerContextserverContext
 Reference to the HTTP server context. More...
 
OsEvent startEvent
 
bool_t running
 
OsTaskId taskId
 Task identifier. More...
 
OsTaskTcb taskTcb
 Task control block. More...
 
OsStackType taskStack [HTTP_SERVER_STACK_SIZE]
 Task stack. More...
 
Socketsocket
 Socket. More...
 
TlsContexttlsContext
 TLS context. More...
 
HttpRequest request
 Incoming HTTP request header. More...
 
HttpResponse response
 HTTP response header. More...
 
HttpAccessStatus status
 Access status. More...
 
char_t cgiParam [HTTP_SERVER_CGI_PARAM_MAX_LEN+1]
 CGI parameter. More...
 
uint32_t dummy
 Force alignment of the buffer on 32-bit boundaries. More...
 
char_t buffer [HTTP_SERVER_BUFFER_SIZE]
 Memory buffer for input/output operations. More...
 
HttpConnState state
 Connection state. More...
 
systime_t timestamp
 
size_t bufferPos
 
size_t bufferLen
 
uint8_t * bodyStart
 
size_t bodyPos
 
size_t bodyLen
 

Detailed Description

HTTP connection.

An HttpConnection instance represents one transaction with an HTTP client

Definition at line 608 of file http_server.h.

Field Documentation

◆ bodyLen

size_t bodyLen

Definition at line 636 of file http_server.h.

◆ bodyPos

size_t bodyPos

Definition at line 635 of file http_server.h.

◆ bodyStart

uint8_t* bodyStart

Definition at line 634 of file http_server.h.

◆ buffer

Memory buffer for input/output operations.

Definition at line 628 of file http_server.h.

◆ bufferLen

size_t bufferLen

Definition at line 633 of file http_server.h.

◆ bufferPos

size_t bufferPos

Definition at line 632 of file http_server.h.

◆ cgiParam

CGI parameter.

Definition at line 626 of file http_server.h.

◆ dummy

uint32_t dummy

Force alignment of the buffer on 32-bit boundaries.

Definition at line 627 of file http_server.h.

◆ request

HttpRequest request

Incoming HTTP request header.

Definition at line 623 of file http_server.h.

◆ response

HttpResponse response

HTTP response header.

Definition at line 624 of file http_server.h.

◆ running

bool_t running

Definition at line 613 of file http_server.h.

◆ serverContext

HttpServerContext* serverContext

Reference to the HTTP server context.

Definition at line 611 of file http_server.h.

◆ settings

HttpServerSettings* settings

Reference to the HTTP server settings.

Definition at line 610 of file http_server.h.

◆ socket

Socket* socket

Socket.

Definition at line 619 of file http_server.h.

◆ startEvent

OsEvent startEvent

Definition at line 612 of file http_server.h.

◆ state

Connection state.

Definition at line 630 of file http_server.h.

◆ status

Access status.

Definition at line 625 of file http_server.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 614 of file http_server.h.

◆ taskStack

Task stack.

Definition at line 617 of file http_server.h.

◆ taskTcb

OsTaskTcb taskTcb

Task control block.

Definition at line 616 of file http_server.h.

◆ timestamp

systime_t timestamp

Definition at line 631 of file http_server.h.

◆ tlsContext

TlsContext* tlsContext

TLS context.

Definition at line 621 of file http_server.h.


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