c# - How do I measure elapsed time of actual HttpWebResponse versus transmission of HttpWebRequest? -


I have an app that posts a large file for the seller's API and receives a response. It does this in a way:

  HTTP Webbet WebRest = buildweburequest (..., requestpar. Data, ...); HttpWebResponse webResponse = (HttpWebResponse) webRequest.GetResponse ();  

I would only like to measure the reaction time (excluding the time it takes to post / post large transit / form-data).

I can not see any combination of HttpWebRequest methods or events, which can separate request uploads from feedback uploads.

Any thoughts?

Unless you are sending a file, the time of request is going to be frustrating.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -