20 #include <constants.h> 23 #include <basictypes.h> 75 void StartHttps(uint16_t ssl_port = 443, uint16_t http_port = 80);
91 #ifdef NB_SSL_SUPPORTED void init()
System initialization. Normally called at the beginning of all applications.
Definition: init.cpp:22
void StartHttps(uint16_t ssl_port=443, uint16_t http_port=80)
Start the HTTPS secure web server.
Definition: https.cpp:311
void StartHttp(uint16_t port=80)
Start the HTTP web server.
Definition: http.cpp:296
bool WaitForActiveNetwork(uint32_t ticks_to_wait=120 *TICKS_PER_SECOND, int interface=-1)
Wait for an active network connection on at least one interface.
Definition: dhcpc.cpp:1549
void EnableSecureConfigServer(bool bHSTS)
Enable the minimal http config server to operate over TLS.