PrepareHttpWebRequestForUrl

PrepareHttpWebRequestForUrl

Creates an HttpWebRequest instance and initializes it with the appropriate parameters, based on the configuration of this service object.

Returns: A initialized instance of HttpWebRequest.

PrepareHttpWebRequestForUrl(System::SharedPtr < System::Uri > url, bool acceptGzipEncoding, bool allowAutoRedirect)
ParameterDescription
urlThe URL that the HttpWebRequest should target.
acceptGzipEncodingIf true, ask server for GZip compressed content.
allowAutoRedirectIf true, redirection responses will be automatically followed.