Started to define class methods
This commit is contained in:
parent
1eaa1c1361
commit
635273589f
@ -1 +1,11 @@
|
||||
#include "HtmlClient.h"
|
||||
|
||||
HtmlClient::HtmlClient() : WiFiClient()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
HtmlClient::~HtmlClient()
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -1,11 +1,35 @@
|
||||
#ifndef HTMLCLIENT_H
|
||||
#define HTMLCLIENT_H
|
||||
|
||||
class HtmlClient
|
||||
#include <ESP8266WiFi.h>
|
||||
|
||||
class HtmlClient : WiFiClient
|
||||
{
|
||||
public:
|
||||
HtmlClient();
|
||||
virtual ~HtmlClient();
|
||||
|
||||
boolean sendHtmlQuery();
|
||||
uint16_t readHtmlResponse(uint8_t *buffer);
|
||||
protected:
|
||||
private:
|
||||
};
|
||||
|
||||
#endif //HTMLCLIENT_H
|
||||
|
||||
/*
|
||||
* TCP status codes :
|
||||
* enum tcp_state {
|
||||
CLOSED = 0,
|
||||
LISTEN = 1,
|
||||
SYN_SENT = 2,
|
||||
SYN_RCVD = 3,
|
||||
ESTABLISHED = 4,
|
||||
FIN_WAIT_1 = 5,
|
||||
FIN_WAIT_2 = 6,
|
||||
CLOSE_WAIT = 7,
|
||||
CLOSING = 8,
|
||||
LAST_ACK = 9,
|
||||
TIME_WAIT = 10
|
||||
};
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user