mirror of https://github.com/jeelabs/esp-link.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
320 B
25 lines
320 B
#ifndef WEB_SERVER_H
|
|
#define WEB_SERVER_H
|
|
|
|
#include <esp8266.h>
|
|
|
|
#include "httpd.h"
|
|
|
|
typedef enum
|
|
{
|
|
LOAD=0,
|
|
REFRESH,
|
|
BUTTON,
|
|
SUBMIT,
|
|
|
|
INVALID=-1,
|
|
} RequestReason;
|
|
|
|
void webServerInit();
|
|
|
|
char * webServerUserPages();
|
|
|
|
int ICACHE_FLASH_ATTR cgiJsonHook(HttpdConnData *connData);
|
|
|
|
#endif /* WEB_SERVER_H */
|
|
|
|
|