DEV Community 👩‍💻👨‍💻

Discussion on: Download file using HttpClient wrapper asynchronously.

1001binary profile image
1001binary Author

Thanks Alex :). You're right.

The DownloadFile function is just a sample function to demonstrate how to download file using HttpClient asynchronously.

In practice, the existing HttpClient var should be reused throughout the lifetime of the application.

I just updated this post.