wifi webserver works again
This commit is contained in:
20
lib/WebServer/src/EthServer.h
Normal file
20
lib/WebServer/src/EthServer.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <IPAddress.h>
|
||||
#include <WiFiClient.h>
|
||||
#include "EthClient.h"
|
||||
|
||||
class EthServer
|
||||
{
|
||||
public:
|
||||
EthServer(IPAddress address, int port) { }
|
||||
|
||||
EthServer(int port) { }
|
||||
|
||||
virtual EthClient* available() = 0;
|
||||
virtual void discardClient() = 0;
|
||||
|
||||
virtual void close() = 0;
|
||||
virtual void begin(const int port = 80) = 0;
|
||||
virtual void setNoDelay(const bool value) = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user