You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to set the Timeout property of HttpWebRequest inside the PreRequest delegation of HtmlWeb, but it seems not working at all. then I checked the source and found there is a Timeout property inside HtmlWeb. So which one is literally available?
HAP version: 1.11.72
NET version (net45)
The text was updated successfully, but these errors were encountered:
Both are available. Whether you choose to use the property or set it yourself through the PreRequest, it should have the same behavior.
We do not control the HttpWebRequest behavior with the timeout. So you are issue why it doesn't timeout could be a reason like the one explained here: https://stackoverflow.com/a/23773365/5619143
Just try to see if, without our library, you get the same behavior.
Both are available. Whether you choose to use the property or set it yourself through the PreRequest, it should have the same behavior.
We do not control the HttpWebRequest behavior with the timeout. So you are issue why it doesn't timeout could be a reason like the one explained here: https://stackoverflow.com/a/23773365/5619143
Just try to see if, without our library, you get the same behavior.
Best Regards,
Jon
I tried setting the Timeout of HttpWebRequest for a long time in my project. But it always got timeout as the default value of Timeout of HtmlWeb. So I think hap just take the value of Timeout of HtmlWeb. But the other properties like Host of HttpWebRequest works in the http requesting. So I think HAP seems overriding the value of HttpWebRequest with the value of HtmlWeb. doesn't it?
1. Description
I tried to set the Timeout property of HttpWebRequest inside the PreRequest delegation of HtmlWeb, but it seems not working at all. then I checked the source and found there is a Timeout property inside HtmlWeb. So which one is literally available?
The text was updated successfully, but these errors were encountered: