ESP8266
|
Public Member Functions | |
WiFiClient () | |
virtual | ~WiFiClient () |
WiFiClient (const WiFiClient &) | |
WiFiClient & | operator= (const WiFiClient &) |
uint8_t | status () |
virtual int | connect (IPAddress ip, uint16_t port) |
virtual int | connect (const char *host, uint16_t port) |
virtual size_t | write (uint8_t) |
virtual size_t | write (const uint8_t *buf, size_t size) |
size_t | write_P (PGM_P buf, size_t size) |
template<typename T > | |
size_t | write (T &source, size_t unitSize) |
virtual int | available () |
virtual int | read () |
virtual int | read (uint8_t *buf, size_t size) |
virtual int | peek () |
virtual size_t | peekBytes (uint8_t *buffer, size_t length) |
size_t | peekBytes (char *buffer, size_t length) |
virtual void | flush () |
virtual void | stop () |
virtual uint8_t | connected () |
virtual | operator bool () |
IPAddress | remoteIP () |
uint16_t | remotePort () |
IPAddress | localIP () |
uint16_t | localPort () |
bool | getNoDelay () |
void | setNoDelay (bool nodelay) |
template<typename T > | |
size_t | write (T &src) |
Public Member Functions inherited from Stream | |
Stream () | |
void | setTimeout (unsigned long timeout) |
bool | find (const char *target) |
bool | find (uint8_t *target) |
bool | find (const char *target, size_t length) |
bool | find (const uint8_t *target, size_t length) |
bool | find (char target) |
bool | findUntil (const char *target, const char *terminator) |
bool | findUntil (const uint8_t *target, const char *terminator) |
bool | findUntil (const char *target, size_t targetLen, const char *terminate, size_t termLen) |
bool | findUntil (const uint8_t *target, size_t targetLen, const char *terminate, size_t termLen) |
long | parseInt () |
float | parseFloat () |
size_t | readBytes (char *buffer, size_t length) |
size_t | readBytes (uint8_t *buffer, size_t length) |
size_t | readBytesUntil (char terminator, char *buffer, size_t length) |
size_t | readBytesUntil (char terminator, uint8_t *buffer, size_t length) |
String | readString () |
String | readStringUntil (char terminator) |
Public Member Functions inherited from Print | |
Print () | |
int | getWriteError () |
void | clearWriteError () |
size_t | write (const char *str) |
size_t | write (const char *buffer, size_t size) |
size_t | printf (const char *format,...) __attribute__((format(printf |
size_t size_t | print (const __FlashStringHelper *) |
size_t | print (const String &) |
size_t | print (const char[]) |
size_t | print (char) |
size_t | print (unsigned char, int=10) |
size_t | print (int, int=10) |
size_t | print (unsigned int, int=10) |
size_t | print (long, int=10) |
size_t | print (unsigned long, int=10) |
size_t | print (double, int=2) |
size_t | print (const Printable &) |
size_t | println (const __FlashStringHelper *) |
size_t | println (const String &s) |
size_t | println (const char[]) |
size_t | println (char) |
size_t | println (unsigned char, int=10) |
size_t | println (int, int=10) |
size_t | println (unsigned int, int=10) |
size_t | println (long, int=10) |
size_t | println (unsigned long, int=10) |
size_t | println (double, int=2) |
size_t | println (const Printable &) |
size_t | println (void) |
Public Member Functions inherited from SList< WiFiClient > | |
SList () | |
Static Public Member Functions | |
static void | setLocalPortStart (uint16_t port) |
static void | stopAll () |
static void | stopAllExcept (WiFiClient *c) |
Protected Member Functions | |
WiFiClient (ClientContext *client) | |
int8_t | _connected (void *tpcb, int8_t err) |
void | _err (int8_t err) |
Protected Member Functions inherited from Client | |
uint8_t * | rawIPAddress (IPAddress &addr) |
Protected Member Functions inherited from Stream | |
int | timedRead () |
int | timedPeek () |
int | peekNextDigit () |
long | parseInt (char skipChar) |
float | parseFloat (char skipChar) |
Protected Member Functions inherited from Print | |
void | setWriteError (int err=1) |
Static Protected Member Functions | |
static int8_t | _s_connected (void *arg, void *tpcb, int8_t err) |
static void | _s_err (void *arg, int8_t err) |
Static Protected Member Functions inherited from SList< WiFiClient > | |
static void | _add (WiFiClient *self) |
static void | _remove (WiFiClient *self) |
Protected Attributes | |
ClientContext * | _client |
Protected Attributes inherited from Stream | |
unsigned long | _timeout |
unsigned long | _startMillis |
Protected Attributes inherited from SList< WiFiClient > | |
WiFiClient * | _next |
Static Protected Attributes | |
static uint16_t | _localPort = 0 |
Static Protected Attributes inherited from SList< WiFiClient > | |
static WiFiClient * | _s_first = 0 |
|
protected |
WiFiClient::WiFiClient | ( | ) |
|
virtual |
WiFiClient::WiFiClient | ( | const WiFiClient & | other | ) |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
|
virtual |
Implements Client.
bool WiFiClient::getNoDelay | ( | ) |
IPAddress WiFiClient::localIP | ( | ) |
uint16_t WiFiClient::localPort | ( | ) |
|
virtual |
Implements Client.
WiFiClient & WiFiClient::operator= | ( | const WiFiClient & | other | ) |
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
|
virtual |
Reimplemented in WiFiClientSecure.
size_t WiFiClient::peekBytes | ( | char * | buffer, |
size_t | length | ||
) |
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
IPAddress WiFiClient::remoteIP | ( | ) |
uint16_t WiFiClient::remotePort | ( | ) |
|
static |
void WiFiClient::setNoDelay | ( | bool | nodelay | ) |
uint8_t WiFiClient::status | ( | ) |
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
|
static |
|
static |
|
virtual |
Implements Client.
|
virtual |
Implements Client.
Reimplemented in WiFiClientSecure.
size_t WiFiClient::write | ( | T & | source, |
size_t | unitSize | ||
) |
size_t WiFiClient::write | ( | T & | src | ) |
size_t WiFiClient::write_P | ( | PGM_P | buf, |
size_t | size | ||
) |
|
protected |
|
staticprotected |