Created
February 27, 2021 21:04
-
-
Save fakiho/ac7271ac0b394e6dc444ab3b13a59edb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protocol DVPNRepository { | |
| func connect(configuration: VPNAccount) | |
| func getStatus(completion: @escaping (NetworkVPNStatus) -> ()) | |
| func disconnect() | |
| func loadVPNConfig(completion: @escaping () -> Void) | |
| func getServers(completion: @escaping (Result<[Server], Error>) -> Void) -> Cancellable? | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment