SwiftSocket
SwiftSocket copied to clipboard
Restrict the socket to use either Wi-Fi only or cellular network.
Is there a way to achieve this like setAllowsCellularAccess method NSURLSession.
The swift file you can find here returns the type of connection, then you can just act accordingly.