Struct SYN_Httpd¶
HTTP server context structure.
#include <syn_httpd.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_Socket | client |
| SYN_Socket | listener |
| uint16_t | port |
| uint32_t | recv_deadline |
| size_t | route_count |
| const SYN_HttpdRoute * | routes |
| bool | running |
| size_t | rx_total |
| SYN_HttpdState | state |
| uint8_t * | work_buf |
| size_t | work_buf_size |
Public Attributes Documentation¶
variable client¶
Active client socket
variable listener¶
Bound listener socket handle
variable port¶
Listening TCP port number
variable recv_deadline¶
Tick deadline for header recv
variable route_count¶
Number of routes in array
variable routes¶
Array of registered route entries
variable running¶
Server state active flag
variable rx_total¶
Bytes accumulated in work_buf
variable state¶
Current processing phase
variable work_buf¶
Buffer for request processing
variable work_buf_size¶
Size of work buffer in bytes
The documentation for this class was generated from the following file src/syntropic/net/syn_httpd.h