Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

_HttpConnection Struct Reference

_HttpConnection Struct Reference

HTTP connection. More...

#include <http_server.h>

Data Fields

HttpServerSettingssettings
 Reference to the HTTP server settings.
HttpServerContext * serverContext
 Reference to the HTTP server context.
OsTasktaskHandle
 Client task handle.
Socket * socket
 Socket.
TlsContext * tlsContext
 SSL/TLS context.
HttpRequest request
 Incoming HTTP request header.
HttpResponse response
 HTTP response header.
HttpAccessStatus status
 Access status.
char_t cgiParam [HTTP_SERVER_CGI_PARAM_MAX_LEN+1]
 CGI parameter.
uint32_t dummy
 Force alignment of the buffer on 32-bit boundaries.
char_t buffer [HTTP_SERVER_BUFFER_SIZE]
 Memory buffer for input/output operations.
HttpConnState state
 Connection state.

Detailed Description

HTTP connection.

An HttpConnection instance represents one transaction with an HTTP client

Definition at line 585 of file http_server.h.


Field Documentation

char_t buffer[HTTP_SERVER_BUFFER_SIZE]

Memory buffer for input/output operations.

Definition at line 601 of file http_server.h.

char_t cgiParam[HTTP_SERVER_CGI_PARAM_MAX_LEN+1]

CGI parameter.

Definition at line 599 of file http_server.h.

uint32_t dummy

Force alignment of the buffer on 32-bit boundaries.

Definition at line 600 of file http_server.h.

Incoming HTTP request header.

Definition at line 596 of file http_server.h.

HTTP response header.

Definition at line 597 of file http_server.h.

HttpServerContext* serverContext

Reference to the HTTP server context.

Definition at line 588 of file http_server.h.

Reference to the HTTP server settings.

Definition at line 587 of file http_server.h.

Socket* socket

Socket.

Definition at line 592 of file http_server.h.

Connection state.

Definition at line 603 of file http_server.h.

Access status.

Definition at line 598 of file http_server.h.

Client task handle.

Definition at line 589 of file http_server.h.

TlsContext* tlsContext

SSL/TLS context.

Definition at line 594 of file http_server.h.