Shellminator V3.0.1
Simple Terminal
Loading...
Searching...
No Matches
ShellminatorWebServer Class Reference

#include <Shellminator-WebServer.hpp>

Inheritance diagram for ShellminatorWebServer:
Collaboration diagram for ShellminatorWebServer:

Public Member Functions

 ShellminatorWebServer ()
 
 ShellminatorWebServer (int port_p)
 
void begin ()
 
void update ()
 
void attachDebugChannel (Stream *dbg_p)
 

Protected Member Functions

virtual void processURL (const char *url_p)
 
virtual void processNotFound (const char *url_p)
 

Protected Attributes

char clientBuffer [SHELLMINATOR_WEBSERVER_URL_BUFFER_SIZE+1]
 
int clientBufferCounter
 
int port = 80
 
Stream * dbg = NULL
 
uint32_t timerStart
 
WiFiServer * server = NULL
 
WiFiClient client
 

Detailed Description

Definition at line 82 of file Shellminator-WebServer.hpp.

Constructor & Destructor Documentation

◆ ShellminatorWebServer() [1/2]

ShellminatorWebServer::ShellminatorWebServer ( )

Definition at line 54 of file Shellminator-WebServer.cpp.

◆ ShellminatorWebServer() [2/2]

ShellminatorWebServer::ShellminatorWebServer ( int  port_p)

Definition at line 60 of file Shellminator-WebServer.cpp.

Member Function Documentation

◆ attachDebugChannel()

void ShellminatorWebServer::attachDebugChannel ( Stream *  dbg_p)

Definition at line 66 of file Shellminator-WebServer.cpp.

◆ begin()

void ShellminatorWebServer::begin ( )

Definition at line 70 of file Shellminator-WebServer.cpp.

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

◆ processNotFound()

void ShellminatorWebServer::processNotFound ( const char *  url_p)
protectedvirtual

◆ processURL()

void ShellminatorWebServer::processURL ( const char *  url_p)
protectedvirtual

Reimplemented in ShellminatorWebServerThemed, and ShellminatorWebServerThemedOffline.

Definition at line 91 of file Shellminator-WebServer.cpp.

Here is the caller graph for this function:

◆ update()

void ShellminatorWebServer::update ( )

Definition at line 103 of file Shellminator-WebServer.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ client

WiFiClient ShellminatorWebServer::client
protected

Definition at line 105 of file Shellminator-WebServer.hpp.

◆ clientBuffer

char ShellminatorWebServer::clientBuffer[SHELLMINATOR_WEBSERVER_URL_BUFFER_SIZE+1]
protected

Definition at line 96 of file Shellminator-WebServer.hpp.

◆ clientBufferCounter

int ShellminatorWebServer::clientBufferCounter
protected

Definition at line 97 of file Shellminator-WebServer.hpp.

◆ dbg

Stream* ShellminatorWebServer::dbg = NULL
protected

Definition at line 100 of file Shellminator-WebServer.hpp.

◆ port

int ShellminatorWebServer::port = 80
protected

Definition at line 99 of file Shellminator-WebServer.hpp.

◆ server

WiFiServer* ShellminatorWebServer::server = NULL
protected

Definition at line 104 of file Shellminator-WebServer.hpp.

◆ timerStart

uint32_t ShellminatorWebServer::timerStart
protected

Definition at line 102 of file Shellminator-WebServer.hpp.