Skip to content

Instantly share code, notes, and snippets.

@fakiho
Last active April 10, 2022 18:19
Show Gist options
  • Select an option

  • Save fakiho/d9b3e65f04eb219f64e3d06d183cb2a4 to your computer and use it in GitHub Desktop.

Select an option

Save fakiho/d9b3e65f04eb219f64e3d06d183cb2a4 to your computer and use it in GitHub Desktop.
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?
}
@fakiho
Copy link
Author

fakiho commented Apr 10, 2022

update getStatu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment