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 546 of file http_server.h.

Field Documentation

◆ authCallback

HttpAuthCallback authCallback

HTTP authentication callback function.

Definition at line 564 of file http_server.h.

◆ backlog

uint_t backlog

Maximum length of the pending connection queue.

Definition at line 553 of file http_server.h.

◆ cgiCallback

HttpCgiCallback cgiCallback

CGI callback function.

Definition at line 566 of file http_server.h.

◆ connections

HttpConnection* connections

Client connections.

Definition at line 555 of file http_server.h.

◆ connectionTask

Connection task parameters.

Definition at line 549 of file http_server.h.

◆ defaultDocument

Default home page.

Definition at line 557 of file http_server.h.

◆ interface

NetInterface* interface

Underlying network interface.

Definition at line 550 of file http_server.h.

◆ ipAddr

IpAddr ipAddr

HTTP server IP address.

Definition at line 552 of file http_server.h.

◆ listenerTask

OsTaskParameters listenerTask

Listener task parameters.

Definition at line 548 of file http_server.h.

◆ maxConnections

uint_t maxConnections

Maximum number of client connections.

Definition at line 554 of file http_server.h.

◆ port

uint16_t port

HTTP server port number.

Definition at line 551 of file http_server.h.

◆ randCallback

HttpRandCallback randCallback

Random data generation callback function.

Definition at line 563 of file http_server.h.

◆ requestCallback

HttpRequestCallback requestCallback

HTTP request callback function.

Definition at line 567 of file http_server.h.

◆ rootDirectory

Web root directory.

Definition at line 556 of file http_server.h.

◆ tlsInitCallback

TlsInitCallback tlsInitCallback

TLS initialization callback function.

Definition at line 560 of file http_server.h.

◆ uriNotFoundCallback

HttpUriNotFoundCallback uriNotFoundCallback

URI not found callback function.

Definition at line 568 of file http_server.h.

◆ useTls

bool_t useTls

Deprecated flag.

Definition at line 559 of file http_server.h.


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