24#include <basictypes.h>
69void StartHttps(uint16_t ssl_port = 443, uint16_t http_port = 80);
141#ifdef NB_SSL_SUPPORTED
#define TICKS_PER_SECOND
System clock ticks per second.
Definition constants.h:49
void init()
System initialization. Ideally called at the beginning of all applications, since the easiest Recover...
void SetHttpsPointers()
If you are both using the Start Custom below and using https you must call this.
void StartHttps(uint16_t ssl_port=443, uint16_t http_port=80)
Start the HTTPS secure web server.
void EnableSystemDiagnostics()
Turn on the diagnostic reports from the config page.
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.
void EnableSecureConfigServer(bool bSec_Only)
Enable the minimal http config server to operate over TLS.
void StartHttpCustom(listen_list_item *pList_Of_Listens)
Start the HTTP web server witha custom list of listen ports.
void StartHttp(uint16_t port=80)
Start the HTTP web server.
Structure to use to create custom lists of listentiing ports and interfaces.
Definition init.h:88