1

I am uploading some file to using web API and I am using Flurl for that but I am not getting any way to get upload percentage or any information that can help me to get upload file percentage.

0

1 Answer 1

1

Flurl doesn't provide direct support for this, but with knowledge of how to do it with HttpClient, you should be able to adapt it to Flurl. The basic steps would be:

  1. Create a class that inherits from HttpContent and contains the bits necessary to track progress. One example is described in detail here.

  2. Use Flurl's PostAsync method (which takes an HttpContent object) to send it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.