Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
HttpServerSettings Struct Reference
HTTP server settings. More...
#include <http_server.h>
Data Fields | |
| NetInterface * | interface |
| Underlying network interface. | |
| uint16_t | port |
| HTTP server port number. | |
| uint_t | backlog |
| Maximum length of the pending connection queue. | |
| uint_t | maxConnections |
| Maximum number of simultaneous connections. | |
| HttpConnection * | connections |
| HTTP client connections. | |
| char_t | rootDirectory [HTTP_SERVER_ROOT_DIR_MAX_LEN+1] |
| Web root directory. | |
| char_t | defaultDocument [HTTP_SERVER_DEFAULT_DOC_MAX_LEN+1] |
| Default home page. | |
| bool_t | useTls |
| HTTP over SSL/TLS. | |
| TlsInitCallback | tlsInitCallback |
| SSL/TLS initialization callback function. | |
| HttpRandCallback | randCallback |
| Random data generation callback function. | |
| HttpAuthCallback | authCallback |
| HTTP authentication callback function. | |
| HttpCgiCallback | cgiCallback |
| CGI callback function. | |
| HttpRequestCallback | requestCallback |
| HTTP request callback function. | |
| HttpUriNotFoundCallback | uriNotFoundCallback |
| URI not found callback function. | |
Detailed Description
HTTP server settings.
Definition at line 524 of file http_server.h.
Field Documentation
HTTP authentication callback function.
Definition at line 539 of file http_server.h.
| uint_t backlog |
Maximum length of the pending connection queue.
Definition at line 528 of file http_server.h.
CGI callback function.
Definition at line 541 of file http_server.h.
| HttpConnection* connections |
HTTP client connections.
Definition at line 530 of file http_server.h.
| char_t defaultDocument[HTTP_SERVER_DEFAULT_DOC_MAX_LEN+1] |
Default home page.
Definition at line 532 of file http_server.h.
| NetInterface* interface |
Underlying network interface.
Definition at line 526 of file http_server.h.
| uint_t maxConnections |
Maximum number of simultaneous connections.
Definition at line 529 of file http_server.h.
| uint16_t port |
HTTP server port number.
Definition at line 527 of file http_server.h.
Random data generation callback function.
Definition at line 538 of file http_server.h.
HTTP request callback function.
Definition at line 542 of file http_server.h.
| char_t rootDirectory[HTTP_SERVER_ROOT_DIR_MAX_LEN+1] |
Web root directory.
Definition at line 531 of file http_server.h.
SSL/TLS initialization callback function.
Definition at line 535 of file http_server.h.
URI not found callback function.
Definition at line 543 of file http_server.h.
| bool_t useTls |
HTTP over SSL/TLS.
Definition at line 534 of file http_server.h.
Generated on Tue Jul 12 2022 17:10:24 by
1.7.2