SensESP 2.7.2
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
sensesp::HTTPServer Class Reference

Handles external interactions with the device via the web interface. More...

#include <sensesp/net/http_server.h>

Inheritance diagram for sensesp::HTTPServer:
[legend]

Public Member Functions

 HTTPServer ()
 
 ~HTTPServer ()
 
virtual void start () override
 
void handle_not_found (AsyncWebServerRequest *request)
 
void handle_config (AsyncWebServerRequest *request)
 
void handle_device_reset (AsyncWebServerRequest *request)
 
void handle_device_restart (AsyncWebServerRequest *request)
 
void handle_info (AsyncWebServerRequest *request)
 
void handle_static_reponse (AsyncWebServerRequest *request, const uint8_t *content, uint32_t size)
 
void handle_command (AsyncWebServerRequest *request)
 
- Public Member Functions inherited from sensesp::Startable
 Startable (int priority=0)
 
const int get_start_priority ()
 
void set_start_priority (int priority)
 

Protected Member Functions

void add_sorted_configurables (JsonArray &config)
 

Additional Inherited Members

- Static Public Member Functions inherited from sensesp::Startable
static void start_all ()
 

Detailed Description

Handles external interactions with the device via the web interface.

Definition at line 17 of file http_server.h.

Constructor & Destructor Documentation

◆ HTTPServer()

sensesp::HTTPServer::HTTPServer ( )

Definition at line 29 of file http_server.cpp.

Here is the call graph for this function:

◆ ~HTTPServer()

sensesp::HTTPServer::~HTTPServer ( )
inline

Definition at line 20 of file http_server.h.

Member Function Documentation

◆ add_sorted_configurables()

void sensesp::HTTPServer::add_sorted_configurables ( JsonArray config)
protected

Definition at line 247 of file http_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_command()

void sensesp::HTTPServer::handle_command ( AsyncWebServerRequest request)

Definition at line 300 of file http_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_config()

void sensesp::HTTPServer::handle_config ( AsyncWebServerRequest request)

Definition at line 230 of file http_server.cpp.

◆ handle_device_reset()

void sensesp::HTTPServer::handle_device_reset ( AsyncWebServerRequest request)

Definition at line 235 of file http_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_device_restart()

void sensesp::HTTPServer::handle_device_restart ( AsyncWebServerRequest request)

Definition at line 242 of file http_server.cpp.

Here is the caller graph for this function:

◆ handle_info()

void sensesp::HTTPServer::handle_info ( AsyncWebServerRequest request)

Definition at line 262 of file http_server.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_not_found()

void sensesp::HTTPServer::handle_not_found ( AsyncWebServerRequest request)

Definition at line 167 of file http_server.cpp.

Here is the caller graph for this function:

◆ handle_static_reponse()

void sensesp::HTTPServer::handle_static_reponse ( AsyncWebServerRequest request,
const uint8_t content,
uint32_t  size 
)

◆ start()

void sensesp::HTTPServer::start ( )
overridevirtual

Called during the initialization process. Override this method to add runtime initialization code to your class

Reimplemented from sensesp::Startable.

Definition at line 147 of file http_server.cpp.


The documentation for this class was generated from the following files: