CWWiFiClient
A wrapper around the entire Wi-Fi subsystem that you use to access interfaces and set up event notifications.
Declaration
class CWWiFiClientOverview
Wi-Fi client objects are heavy. Therefore, it’s more efficient to use a single, long-running client instance, rather than creating several short-lived instances. For convenience, you can use the singleton instance returned by the shared() class method.
Instead of instantiating CWInterface objects directly, use the ones provided by the instance methods of this class. For example, the interface() method returns the default Wi-Fi interface.