How do I extract the actual time take to connect & request using the HTTP component? I've noticed that the information is present in error messages..lol.
For Eg: This is from some error message I found in this forum (http://www.chilkatforum.com/questions/304/http-getpost-synchronous-request-issue)
Connected --httpConnect connectTime1: Elapsed time: 2184 millisec Not auto-adding cookies. sendRequestTime: Elapsed time: 0 millisec ---- Reading HTTP Response ----
As u can see, the time taken to connect is there.
What I would like to know is how to get that data when there are no errors?
Oh yes, btw,..using a TimeSpan obj is not practical as I'm using async http with sleeps to easy loads.
Information about elapsed times were added to the LastErrorText to make it helpful in debugging to understand where time is being taken when an HTTP request takes more time than anticipated. The LastErrorText always contains this information, regardless of success or failure. I'm sorry to say that the information is not available via any other methods or properties.