HTTP connection. More...
#include <http_server.h>
Data Fields | |
HttpServerSettings * | settings |
Reference to the HTTP server settings. More... | |
HttpServerContext * | serverContext |
Reference to the HTTP server context. More... | |
OsEvent | startEvent |
bool_t | running |
OsTaskParameters | taskParams |
Task parameters. More... | |
OsTaskId | taskId |
Task identifier. More... | |
Socket * | socket |
Socket. More... | |
TlsContext * | tlsContext |
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 614 of file http_server.h.
Field Documentation
◆ bodyLen
size_t bodyLen |
Definition at line 639 of file http_server.h.
◆ bodyPos
size_t bodyPos |
Definition at line 638 of file http_server.h.
◆ bodyStart
uint8_t* bodyStart |
Definition at line 637 of file http_server.h.
◆ buffer
char_t buffer[HTTP_SERVER_BUFFER_SIZE] |
Memory buffer for input/output operations.
Definition at line 631 of file http_server.h.
◆ bufferLen
size_t bufferLen |
Definition at line 636 of file http_server.h.
◆ bufferPos
size_t bufferPos |
Definition at line 635 of file http_server.h.
◆ cgiParam
char_t cgiParam[HTTP_SERVER_CGI_PARAM_MAX_LEN+1] |
CGI parameter.
Definition at line 629 of file http_server.h.
◆ dummy
uint32_t dummy |
Force alignment of the buffer on 32-bit boundaries.
Definition at line 630 of file http_server.h.
◆ request
HttpRequest request |
Incoming HTTP request header.
Definition at line 626 of file http_server.h.
◆ response
HttpResponse response |
HTTP response header.
Definition at line 627 of file http_server.h.
◆ running
bool_t running |
Definition at line 619 of file http_server.h.
◆ serverContext
HttpServerContext* serverContext |
Reference to the HTTP server context.
Definition at line 617 of file http_server.h.
◆ settings
HttpServerSettings* settings |
Reference to the HTTP server settings.
Definition at line 616 of file http_server.h.
◆ socket
Socket* socket |
Socket.
Definition at line 622 of file http_server.h.
◆ startEvent
OsEvent startEvent |
Definition at line 618 of file http_server.h.
◆ state
HttpConnState state |
Connection state.
Definition at line 633 of file http_server.h.
◆ status
HttpAccessStatus status |
Access status.
Definition at line 628 of file http_server.h.
◆ taskId
OsTaskId taskId |
Task identifier.
Definition at line 621 of file http_server.h.
◆ taskParams
OsTaskParameters taskParams |
Task parameters.
Definition at line 620 of file http_server.h.
◆ timestamp
systime_t timestamp |
Definition at line 634 of file http_server.h.
◆ tlsContext
TlsContext* tlsContext |
TLS context.
Definition at line 624 of file http_server.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/http/http_server.h