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 636 of file http_server.h.
Field Documentation
◆ bodyLen
| size_t bodyLen |
Definition at line 661 of file http_server.h.
◆ bodyPos
| size_t bodyPos |
Definition at line 660 of file http_server.h.
◆ bodyStart
| uint8_t* bodyStart |
Definition at line 659 of file http_server.h.
◆ buffer
| char_t buffer[HTTP_SERVER_BUFFER_SIZE] |
Memory buffer for input/output operations.
Definition at line 653 of file http_server.h.
◆ bufferLen
| size_t bufferLen |
Definition at line 658 of file http_server.h.
◆ bufferPos
| size_t bufferPos |
Definition at line 657 of file http_server.h.
◆ cgiParam
| char_t cgiParam[HTTP_SERVER_CGI_PARAM_MAX_LEN+1] |
CGI parameter.
Definition at line 651 of file http_server.h.
◆ dummy
| uint32_t dummy |
Force alignment of the buffer on 32-bit boundaries.
Definition at line 652 of file http_server.h.
◆ request
| HttpRequest request |
Incoming HTTP request header.
Definition at line 648 of file http_server.h.
◆ response
| HttpResponse response |
HTTP response header.
Definition at line 649 of file http_server.h.
◆ running
| bool_t running |
Definition at line 641 of file http_server.h.
◆ serverContext
| HttpServerContext* serverContext |
Reference to the HTTP server context.
Definition at line 639 of file http_server.h.
◆ settings
| HttpServerSettings* settings |
Reference to the HTTP server settings.
Definition at line 638 of file http_server.h.
◆ socket
| Socket* socket |
Socket.
Definition at line 644 of file http_server.h.
◆ startEvent
| OsEvent startEvent |
Definition at line 640 of file http_server.h.
◆ state
| HttpConnState state |
Connection state.
Definition at line 655 of file http_server.h.
◆ status
| HttpAccessStatus status |
Access status.
Definition at line 650 of file http_server.h.
◆ taskId
| OsTaskId taskId |
Task identifier.
Definition at line 643 of file http_server.h.
◆ taskParams
| OsTaskParameters taskParams |
Task parameters.
Definition at line 642 of file http_server.h.
◆ timestamp
| systime_t timestamp |
Definition at line 656 of file http_server.h.
◆ tlsContext
| TlsContext* tlsContext |
TLS context.
Definition at line 646 of file http_server.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/http/http_server.h
