Class HttpSettings
This class contains the default settings for the proxy / httpclient
These can be modified, are on a global "application" scale.
Most have their normal defaults, which would also normally be used, some have special settings
The default values and the property descriptions are in the IHttpSettings (which can be used by Dapplo.Config)
Inheritance
System.Object
HttpSettings
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Dapplo.HttpExtensions.dll
Syntax
public class HttpSettings : IHttpSettings
Properties
|
Improve this Doc
View Source
AllowAutoRedirect
For more details, click
here
Declaration
public bool AllowAutoRedirect { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AllowPipelining
For more details, click
here
Declaration
public bool AllowPipelining { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
AuthenticationLevel
Declaration
public AuthenticationLevel AuthenticationLevel { get; set; }
Property Value
Type |
Description |
System.Net.Security.AuthenticationLevel |
|
|
Improve this Doc
View Source
ClientCertificateOptions
For more details, click
here
Declaration
public ClientCertificateOption ClientCertificateOptions { get; set; }
Property Value
Type |
Description |
ClientCertificateOption |
|
|
Improve this Doc
View Source
ClientCertificates
Add your client certificates here, so they are passed to the handler.
Declaration
public X509CertificateCollection ClientCertificates { get; set; }
Property Value
Type |
Description |
System.Security.Cryptography.X509Certificates.X509CertificateCollection |
|
|
Improve this Doc
View Source
ContinueTimeout
For more details, click
here
Declaration
public TimeSpan ContinueTimeout { get; set; }
Property Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
Credentials
For more details, click
here
Declaration
public ICredentials Credentials { get; set; }
Property Value
Type |
Description |
ICredentials |
|
|
Improve this Doc
View Source
DefaultDecompressionMethods
For more details, click
here
Declaration
public DecompressionMethods DefaultDecompressionMethods { get; set; }
Property Value
Type |
Description |
DecompressionMethods |
|
|
Improve this Doc
View Source
DefaultUserAgent
The default User-Agent value to use, a lot of services don't like it when this is empty or the behaviour depends on
the value
Declaration
public string DefaultUserAgent { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Expect100Continue
When true the configured proxy will used the default user credentials
Declaration
public bool Expect100Continue { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IgnoreSslCertificateErrors
If true SSL Certificate checks are ignored.
Declaration
public bool IgnoreSslCertificateErrors { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ImpersonationLevel
Declaration
public TokenImpersonationLevel ImpersonationLevel { get; set; }
Property Value
Type |
Description |
System.Security.Principal.TokenImpersonationLevel |
|
|
Improve this Doc
View Source
MaxAutomaticRedirections
Declaration
public int MaxAutomaticRedirections { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
MaxRequestContentBufferSize
For more details, click
here
Declaration
public long MaxRequestContentBufferSize { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
MaxResponseContentBufferSize
For more details, click
here
Declaration
public long MaxResponseContentBufferSize { get; set; }
Property Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
For more details, click
here
Default would have been 64, this is increased to 256
Declaration
public int MaxResponseHeadersLength { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PreAuthenticate
Declaration
public bool PreAuthenticate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ProxyBypassList
For more details, click
here
Declaration
public string[] ProxyBypassList { get; set; }
Property Value
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
ProxyBypassOnLocal
For more details, click
here
Declaration
public bool ProxyBypassOnLocal { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ProxyCredentials
For more details, click
here
Declaration
public ICredentials ProxyCredentials { get; set; }
Property Value
Type |
Description |
ICredentials |
|
|
Improve this Doc
View Source
ProxyUri
The Uri for the proxy to use, when the UseDefaultProxy is set to false
Declaration
public Uri ProxyUri { get; set; }
Property Value
|
Improve this Doc
View Source
ReadWriteTimeout
For more details, click
here
Declaration
public int ReadWriteTimeout { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RequestCacheLevel
Declaration
public RequestCacheLevel RequestCacheLevel { get; set; }
Property Value
Type |
Description |
System.Net.Cache.RequestCacheLevel |
|
|
Improve this Doc
View Source
RequestTimeout
For more details, click
here
Declaration
public TimeSpan RequestTimeout { get; set; }
Property Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
UseCookies
Declaration
public bool UseCookies { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseDefaultCredentials
When true every http request will supply the default user credentials when the server asks for them
Declaration
public bool UseDefaultCredentials { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseDefaultCredentialsForProxy
When true the configured proxy will used the default user credentials
Declaration
public bool UseDefaultCredentialsForProxy { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseDefaultProxy
When true the default system proxy is used
Declaration
public bool UseDefaultProxy { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UseProxy
If true, every request is made via the configured or default proxy
Declaration
public bool UseProxy { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
ShallowClone()
Return a memberwise clone of the HttpSettings.
This is needed by the HttpBehaviour to prevent that a modification of a copy is changing the global settings!
Declaration
public IHttpSettings ShallowClone()
Returns
Implements