basic event sending works
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "WebSockets.h"
|
||||
|
||||
class WebSocketsClient: private WebSockets {
|
||||
class WebSocketsClient: protected WebSockets {
|
||||
public:
|
||||
#ifdef __AVR__
|
||||
typedef void (*WebSocketClientEvent)(WStype_t type, uint8_t * payload, size_t length);
|
||||
@@ -87,6 +87,8 @@ class WebSocketsClient: private WebSockets {
|
||||
|
||||
void setReconnectInterval(unsigned long time);
|
||||
|
||||
bool isConnected(void);
|
||||
|
||||
protected:
|
||||
String _host;
|
||||
uint16_t _port;
|
||||
|
||||
Reference in New Issue
Block a user