feat: HTTP-Server auf Port 3333 mit App-API-Kontext
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#ifndef NL_HTTP_SERVER_H
|
||||
#define NL_HTTP_SERVER_H
|
||||
|
||||
#include "net/nl_api.h"
|
||||
|
||||
#define NL_HTTP_PORT 3333
|
||||
|
||||
/* Serves one connection at a time (listen backlog 4, 5 s receive timeout). */
|
||||
void nl_http_server_start(const nl_api_ctx_t *ctx);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user