mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-20 21:01:25 +03:00
Moving all AVR specific libraries to hardware/avr
This commit is contained in:
22
hardware/avr/libraries/Ethernet/Server.h
Normal file
22
hardware/avr/libraries/Ethernet/Server.h
Normal file
@ -0,0 +1,22 @@
|
||||
#ifndef server_h
|
||||
#define server_h
|
||||
|
||||
#include "Print.h"
|
||||
|
||||
class Client;
|
||||
|
||||
class Server :
|
||||
public Print {
|
||||
private:
|
||||
uint16_t _port;
|
||||
void accept();
|
||||
public:
|
||||
Server(uint16_t);
|
||||
Client available();
|
||||
void begin();
|
||||
virtual void write(uint8_t);
|
||||
virtual void write(const char *str);
|
||||
virtual void write(const uint8_t *buf, size_t size);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user