HttpServerSettings Struct Reference

HTTP server settings. More...

#include <http_server.h>

Data Fields

OsTaskParameters listenerTask
 Listener task parameters. More...
 
OsTaskParameters connectionTask [HTTP_SERVER_MAX_CONNECTIONS]
 Connection task parameters. More...
 
NetInterfaceinterface
 Underlying network interface. More...
 
uint16_t port
 HTTP server port number. More...
 
IpAddr ipAddr
 HTTP server IP address. 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 568 of file http_server.h.

Field Documentation

◆ authCallback

HttpAuthCallback authCallback

HTTP authentication callback function.

Definition at line 586 of file http_server.h.

◆ backlog

uint_t backlog

Maximum length of the pending connection queue.

Definition at line 575 of file http_server.h.

◆ cgiCallback

HttpCgiCallback cgiCallback

CGI callback function.

Definition at line 588 of file http_server.h.

◆ connections

HttpConnection* connections

Client connections.

Definition at line 577 of file http_server.h.

◆ connectionTask

Connection task parameters.

Definition at line 571 of file http_server.h.

◆ defaultDocument

Default home page.

Definition at line 579 of file http_server.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 572 of file http_server.h.

◆ ipAddr

IpAddr ipAddr

HTTP server IP address.

Definition at line 574 of file http_server.h.

◆ listenerTask

OsTaskParameters listenerTask

Listener task parameters.

Definition at line 570 of file http_server.h.

◆ maxConnections

uint_t maxConnections

Maximum number of client connections.

Definition at line 576 of file http_server.h.

◆ port

uint16_t port

HTTP server port number.

Definition at line 573 of file http_server.h.

◆ randCallback

HttpRandCallback randCallback

Random data generation callback function.

Definition at line 585 of file http_server.h.

◆ requestCallback

HttpRequestCallback requestCallback

HTTP request callback function.

Definition at line 589 of file http_server.h.

◆ rootDirectory

Web root directory.

Definition at line 578 of file http_server.h.

◆ tlsInitCallback

TlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 582 of file http_server.h.

◆ uriNotFoundCallback

HttpUriNotFoundCallback uriNotFoundCallback

URI not found callback function.

Definition at line 590 of file http_server.h.

◆ useTls

bool_t useTls

Deprecated flag.

Definition at line 581 of file http_server.h.


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