Embedded TCP/IP stack
4.7.0
|
fnet_http_srv_desc_t fnet_http_srv_init | ( | fnet_http_srv_params_t * | params | ) |
Initializes the HTTP Server service.
params | Initialization parameters defined by fnet_http_srv_params_t. |
0
if an error occurs.This function initializes the HTTP server service. It allocates all resources needed, and registers the HTTP server service in the polling list.
After the initialization, the user application should call the main polling function fnet_service_poll() periodically to run the HTTP server in background.