SudoVPNServer
object contains information about the server.listServers(completion:)
. The method will either return a list of valid servers to connect to, or an empty list if none are available.listServers
method provides a list of servers that can be used to establish a connection. An example implementation of retrieving the available servers is:listServers
will return the list of available servers. If an exception occurs, the e.localizedMessage
can be presented to the user to notify them as to what caused the exception.