23 #ifndef NDN_ESP8266_TCP_TRANSPORT_LITE_HPP
24 #define NDN_ESP8266_TCP_TRANSPORT_LITE_HPP
28 #include <WiFiClient.h>
29 #include "../../c/common.h"
30 #include "../../c/errors.h"
31 #include "../../c/encoding/element-reader-types.h"
32 #include "../util/dynamic-uint8-array-lite.hpp"
33 #include "../encoding/element-listener-lite.hpp"
41 class Esp8266TcpTransportLite {
54 Esp8266TcpTransportLite(DynamicUInt8ArrayLite& buffer);
68 connect(
const char* host,
int port, ElementListenerLite& elementListener);
77 send(
const uint8_t* data,
size_t dataLength);
94 processEvents(uint8_t *buffer,
size_t bufferLength);
A ndn_ElementReader lets you call ndn_ElementReader_onReceivedData multiple times which uses an ndn_T...
Definition: element-reader-types.h:59