Skip to content

Commit 021e53a

Browse files
committed
chore: refactor CLI downloading logic
I moved and modified the logic from CliManager.download to a separate http client based on okhttp and retrofit. The refactor will allow us to easily add new steps in the main download method, and also to easily download new resources. Long term we could also re-use the okhttp client to avoid setting twice the same boilerplate (proxy which is missing from CLIManager, hostname verification and other tls settings) between cli downloader and the rest client
1 parent 4227ebd commit 021e53a

File tree

4 files changed

+249
-144
lines changed

4 files changed

+249
-144
lines changed

0 commit comments

Comments
 (0)