Ditch non-scalable VPN.shared
This commit is contained in:
parent
c442d44a0f
commit
ff4a1e3945
|
@ -164,8 +164,6 @@ This subspec includes convenient classes to control the VPN tunnel from your app
|
|||
- `MockVPNProvider` (default, useful to test on simulator)
|
||||
- `OpenVPNProvider`
|
||||
|
||||
Set `VPN.shared` to either of them at app launch time.
|
||||
|
||||
### Protocols/OpenVPN
|
||||
|
||||
Here you will find the low-level entities on top of which an OpenVPN connection is established. Code is mixed Swift and Obj-C, most of it is not exposed to consumers. The module depends on OpenSSL.
|
||||
|
|
|
@ -36,7 +36,4 @@ public class VPN {
|
|||
|
||||
/// The VPN profile did (re)install.
|
||||
public static let didReinstall = Notification.Name("VPNDidReinstall")
|
||||
|
||||
/// A singleton `VPNProvider` instance (default is a `MockVPNProvider`). Make sure to set this on app launch.
|
||||
public static var shared: VPNProvider = MockVPNProvider()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue