Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 818 Bytes
#ifndef SMART_POWER_HTTP_H
#define SMART_POWER_HTTP_H
#include "Settings.h"
#include <Ethernet.h>
#include <EthernetClient.h>
#include <EthernetServer.h>
void initHttp();
void handleHTTPRequest();
void sendDefaultHeaders(EthernetClient *client);
void sendNotFoundHeaders(EthernetClient *client);
void sendAutoRefreshHeader(EthernetClient *client);
void sendHTMLContentType(EthernetClient *client);
void sendJsonContentType(EthernetClient *client);
void sendDefaultPageContent(EthernetClient *client);
void sendTemPageContent(EthernetClient *client);
void sendCur5vPageContent(EthernetClient *client);
void sendCur12vPageContent(EthernetClient *client);
void sendPowerPageContent(EthernetClient *client);
void sendAllPageContent(EthernetClient *client);
void sendHistoryPageContent(EthernetClient *client);
#endif