Last active
April 10, 2022 18:19
-
-
Save fakiho/d9b3e65f04eb219f64e3d06d183cb2a4 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 NetworkVPNUseCase { | |
| func connect(configuration: VPNAccount) | |
| func getStatus() -> Observable<NetworkVPNStatus> | |
| func disconnect() | |
| func loadVPNConfig(completion: @escaping () -> Void) | |
| func getServers(completion: @escaping (Result<[Server], Error>) -> Void) -> Cancellable? | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
update getStatu