Unverified Commit 5d97e02a authored by Rodrigo Garcia's avatar Rodrigo Garcia Committed by GitHub

undeprecate available() (#9027)

parent edf5ecff
...@@ -45,7 +45,7 @@ class WiFiServer : public Server { ...@@ -45,7 +45,7 @@ class WiFiServer : public Server {
log_v("WiFiServer::WiFiServer(addr=%s, port=%d, ...)", addr.toString().c_str(), port); log_v("WiFiServer::WiFiServer(addr=%s, port=%d, ...)", addr.toString().c_str(), port);
} }
~WiFiServer(){ end();} ~WiFiServer(){ end();}
WiFiClient available() __attribute__((deprecated("Renamed to accept()."))); WiFiClient available();
WiFiClient accept(); WiFiClient accept();
void begin(uint16_t port=0); void begin(uint16_t port=0);
void begin(uint16_t port, int reuse_enable); void begin(uint16_t port, int reuse_enable);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment