![]() |
cueOS
2.4
cueOS - Universal Show Control OS for ARM
|
Modules | |
Definitions | |
HTTP Request | |
HTTP response | |
Data Structures | |
struct | http_server_s |
HTTP server structure object. More... | |
Functions | |
http_server_s * | http_server_init (uint16_t port, router_fn router) |
Initialises a new HTTP server instance. More... | |
Handles the creation of an HTTP server instance. This http server module is able to serve both static (eg. static files) and dynamic (eg. API responses) response data.
http_server_s * http_server_init | ( | uint16_t | port, |
router_fn | router | ||
) |
Initialises a new HTTP server instance.
port | the server's port number |
router | the router functions which will be used to generate response data following HTTP request |
Definition at line 256 of file http_server.c.