Skip to content

Commit b921329

Browse files
committed
Add WiFiServer::accept() as alias to WiFiServer::available()
1 parent fee275d commit b921329

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/WiFi/src/WiFiServer.h

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class WiFiServer : public MbedServer {
3434
WiFiServer(uint16_t port)
3535
: MbedServer(port) {}
3636
WiFiClient available(uint8_t* status = nullptr);
37+
WiFiClient accept() { return available(); };
3738
};
3839

3940
}

0 commit comments

Comments
 (0)