HomeWaterLeaksDetection
WebServer.h File Reference
#include "Arduino.h"
#include "Ethernet.h"
#include "SPI.h"
#include "SD.h"
#include "vector"
#include "Setup.h"
#include "HTMLDataSource.h"
#include "IControllable.h"
#include "LeaksController.h"
#include "EmailSender.h"

Go to the source code of this file.

Classes

class  WebServer
 

Macros

#define DATA_PREF   "%*"
 start of a sequence to be replaces with an actual value More...
 
#define DATA_POST   "*%"
 end of a sequence to be replaces with an actual value More...
 
#define INDEX_FILE_NAME   "INDEX~1.HTM"
 file on the SD card containing the HTML website More...
 
#define OUT_OF_RANGE_ERR   4294967295UL
 maximum integer values allowed to be passed to Arduino More...
 
#define MAX_HTTP_RQ_LENGTH   160
 max size of an HTTP request (160B) More...
 
#define HTTP_RQ_GET_START   "GET "
 the very start of t More...
 
#define HTTP_RQ_SETTINGS   "/?settings="
 begining of an HTTP request for changing settings More...
 
#define HTTP_RQ_NOTIFICATION   "/?notification="
 begining of an HTTP request for changing e-mail notifications More...
 
#define HTTP_RQ_SEPARATOR   ';'
 separator between individual parameters in an HTTP request More...
 

Macro Definition Documentation

◆ DATA_POST

#define DATA_POST   "*%"

end of a sequence to be replaces with an actual value

Definition at line 17 of file WebServer.h.

◆ DATA_PREF

#define DATA_PREF   "%*"

start of a sequence to be replaces with an actual value

Definition at line 16 of file WebServer.h.

◆ HTTP_RQ_GET_START

#define HTTP_RQ_GET_START   "GET "

the very start of t

Definition at line 22 of file WebServer.h.

◆ HTTP_RQ_NOTIFICATION

#define HTTP_RQ_NOTIFICATION   "/?notification="

begining of an HTTP request for changing e-mail notifications

Definition at line 24 of file WebServer.h.

◆ HTTP_RQ_SEPARATOR

#define HTTP_RQ_SEPARATOR   ';'

separator between individual parameters in an HTTP request

Definition at line 25 of file WebServer.h.

◆ HTTP_RQ_SETTINGS

#define HTTP_RQ_SETTINGS   "/?settings="

begining of an HTTP request for changing settings

Definition at line 23 of file WebServer.h.

◆ INDEX_FILE_NAME

#define INDEX_FILE_NAME   "INDEX~1.HTM"

file on the SD card containing the HTML website

Definition at line 19 of file WebServer.h.

◆ MAX_HTTP_RQ_LENGTH

#define MAX_HTTP_RQ_LENGTH   160

max size of an HTTP request (160B)

Definition at line 21 of file WebServer.h.

◆ OUT_OF_RANGE_ERR

#define OUT_OF_RANGE_ERR   4294967295UL

maximum integer values allowed to be passed to Arduino

Definition at line 20 of file WebServer.h.