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.
HttpServer Class Reference
HttpServer implements the logic for setting up an HTTP server. More...
#include <http_server.h>
Public Member Functions | |
HttpServer (NetworkInterface *network) | |
HttpRequest Constructor. | |
nsapi_error_t | start (uint16_t port, Callback< void(ParsedHttpRequest *request, TCPSocket *socket)> a_handler) |
Start running the server (it will run on it's own thread) |
Detailed Description
HttpServer implements the logic for setting up an HTTP server.
Definition at line 35 of file http_server.h.
Constructor & Destructor Documentation
HttpServer | ( | NetworkInterface * | network ) |
HttpRequest Constructor.
- Parameters:
-
[in] network The network interface
Definition at line 42 of file http_server.h.
Member Function Documentation
nsapi_error_t start | ( | uint16_t | port, |
Callback< void(ParsedHttpRequest *request, TCPSocket *socket)> | a_handler | ||
) |
Start running the server (it will run on it's own thread)
Definition at line 57 of file http_server.h.
Generated on Wed Jul 13 2022 01:16:07 by
