HttpServerSettings Struct Reference

HTTP server settings. More...

#include <http_server.h>

Data Fields

NetInterfaceinterface
 Underlying network interface. More...
 
uint16_t port
 HTTP port number. More...
 
uint_t backlog
 Maximum length of the pending connection queue. More...
 
uint_t maxConnections
 Maximum number of client connections. More...
 
HttpConnectionconnections
 Client connections. More...
 
char_t rootDirectory [HTTP_SERVER_ROOT_DIR_MAX_LEN+1]
 Web root directory. More...
 
char_t defaultDocument [HTTP_SERVER_DEFAULT_DOC_MAX_LEN+1]
 Default home page. More...
 
bool_t useTls
 Deprecated flag. More...
 
TlsInitCallback tlsInitCallback
 TLS initialization callback function. More...
 
HttpRandCallback randCallback
 Random data generation callback function. More...
 
HttpAuthCallback authCallback
 HTTP authentication callback function. More...
 
HttpCgiCallback cgiCallback
 CGI callback function. More...
 
HttpRequestCallback requestCallback
 HTTP request callback function. More...
 
HttpUriNotFoundCallback uriNotFoundCallback
 URI not found callback function. More...
 

Detailed Description

HTTP server settings.

Definition at line 539 of file http_server.h.

Field Documentation

◆ authCallback

HttpAuthCallback authCallback

HTTP authentication callback function.

Definition at line 554 of file http_server.h.

◆ backlog

uint_t backlog

Maximum length of the pending connection queue.

Definition at line 543 of file http_server.h.

◆ cgiCallback

HttpCgiCallback cgiCallback

CGI callback function.

Definition at line 556 of file http_server.h.

◆ connections

HttpConnection* connections

Client connections.

Definition at line 545 of file http_server.h.

◆ defaultDocument

Default home page.

Definition at line 547 of file http_server.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 541 of file http_server.h.

◆ maxConnections

uint_t maxConnections

Maximum number of client connections.

Definition at line 544 of file http_server.h.

◆ port

uint16_t port

HTTP port number.

Definition at line 542 of file http_server.h.

◆ randCallback

HttpRandCallback randCallback

Random data generation callback function.

Definition at line 553 of file http_server.h.

◆ requestCallback

HttpRequestCallback requestCallback

HTTP request callback function.

Definition at line 557 of file http_server.h.

◆ rootDirectory

Web root directory.

Definition at line 546 of file http_server.h.

◆ tlsInitCallback

TlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 550 of file http_server.h.

◆ uriNotFoundCallback

HttpUriNotFoundCallback uriNotFoundCallback

URI not found callback function.

Definition at line 558 of file http_server.h.

◆ useTls

bool_t useTls

Deprecated flag.

Definition at line 549 of file http_server.h.


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