Cuemon .NET Framework
CreateDefault Method (HttpWebRequestSettings)

Specifies a set of features to support the System.Net.HttpWebRequest object.
Syntax
'Declaration
 
Public Shared Function CreateDefault() As HttpWebRequestSettings
public static HttpWebRequestSettings CreateDefault()

Return Value

A HttpWebRequestSettings instance that specifies a set of features to support the System.Net.HttpWebRequest object.
Remarks
The following table shows the initial property values for an instance of HttpWebRequestSettings.
Property Initial Value
AllowAutoRedirect true
AllowWriteStreamBuffering true
AutomaticDecompression System.Net.DecompressionMethods.GZip | System.Net.DecompressionMethods.Deflate
KeepAlive true
MaximumAutomaticRedirections 10
MaximumResponseHeadersLength System.Net.HttpWebRequest.DefaultMaximumResponseHeadersLength
Pipelined true
Proxy System.Net.WebRequest.DefaultWebProxy
ReadWriteTimeout 5 minutes
SendChunked false
Timeout NetHttpUtility.DefaultHttpTimeout
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HttpWebRequestSettings Class
HttpWebRequestSettings Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback