Improve this Doc View Source

Interface IHttpSettings

Interface for the global settings, as the DefaultValue attributes are set this CAN be used with Dapplo.Config.
Best example would be:
[IniSection("Network"), Display(Description = "Network / HTTP Settings")]
public interface IHttpConfig : IHttpSettings, IIniSection {
}

(Yes, it's can be empty, the settings are in the IHttpSettings interface) and than assign the generated instance to HttpExtensionsGlobals

Namespace:Dapplo.HttpExtensions
Assembly:Dapplo.HttpExtensions.dll
Syntax
public interface IHttpSettings

Properties

| Improve this Doc View Source

AllowAutoRedirect

For more details, click here

Declaration
bool AllowAutoRedirect { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

AllowPipelining

For more details, click here

Declaration
bool AllowPipelining { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

AuthenticationLevel

In mutual authentication, both the client and server present credentials to establish their identity. The MutualAuthRequired and MutualAuthRequested values are relevant for Kerberos authentication. Kerberos authentication can be supported directly, or can be used if the Negotiate security protocol is used to select the actual security protocol. For more information about authentication protocols, see Internet Authentication For more details, click here

Declaration
AuthenticationLevel AuthenticationLevel { get; set; }
Returns
Type Description
System.Net.Security.AuthenticationLevel
| Improve this Doc View Source

ContinueTimeout

For more details, click here

Declaration
TimeSpan ContinueTimeout { get; set; }
Returns
Type Description
System.TimeSpan
| Improve this Doc View Source

Credentials

For more details, click here

Declaration
ICredentials Credentials { get; set; }
Returns
Type Description
System.Net.ICredentials
| Improve this Doc View Source

DefaultDecompressionMethods

For more details, click here

Declaration
DecompressionMethods DefaultDecompressionMethods { get; set; }
Returns
Type Description
System.Net.DecompressionMethods
| Improve this Doc View Source

DefaultUserAgent

Declaration
string DefaultUserAgent { get; set; }
Returns
Type Description
System.String
| Improve this Doc View Source

Expect100Continue

Declaration
bool Expect100Continue { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ImpersonationLevel

The impersonation level determines how the server can use the client's credentials. For more details, click here

Declaration
TokenImpersonationLevel ImpersonationLevel { get; set; }
Returns
Type Description
System.Security.Principal.TokenImpersonationLevel
| Improve this Doc View Source

MaxAutomaticRedirections

For more details, click here and here

Declaration
int MaxAutomaticRedirections { get; set; }
Returns
Type Description
System.Int32
| Improve this Doc View Source

MaxRequestContentBufferSize

For more details, click here

Declaration
long MaxRequestContentBufferSize { get; set; }
Returns
Type Description
System.Int64
| Improve this Doc View Source

MaxResponseContentBufferSize

For more details, click here

Declaration
long MaxResponseContentBufferSize { get; set; }
Returns
Type Description
System.Int64
| Improve this Doc View Source

MaxResponseHeadersLength

For more details, click here Default would have been 64, this is increased to 256

Declaration
int MaxResponseHeadersLength { get; set; }
Returns
Type Description
System.Int32
| Improve this Doc View Source

PreAuthenticate

For more details, click here And here

Declaration
bool PreAuthenticate { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ProxyBypassList

For more details, click here

Declaration
string[] ProxyBypassList { get; set; }
Returns
Type Description
System.String[]
| Improve this Doc View Source

ProxyBypassOnLocal

For more details, click here

Declaration
bool ProxyBypassOnLocal { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ProxyCredentials

For more details, click here

Declaration
ICredentials ProxyCredentials { get; set; }
Returns
Type Description
System.Net.ICredentials
| Improve this Doc View Source

ProxyUri

The Uri for the proxy to use, when the UseDefaultProxy is set to false

Declaration
Uri ProxyUri { get; set; }
Returns
Type Description
System.Uri
| Improve this Doc View Source

ReadWriteTimeout

For more details, click here

Declaration
int ReadWriteTimeout { get; set; }
Returns
Type Description
System.Int32
| Improve this Doc View Source

RequestCacheLevel

For more details, click here Default is RequestCacheLevel.Default

Declaration
RequestCacheLevel RequestCacheLevel { get; set; }
Returns
Type Description
System.Net.Cache.RequestCacheLevel
| Improve this Doc View Source

RequestTimeout

For more details, click here

Declaration
TimeSpan RequestTimeout { get; set; }
Returns
Type Description
System.TimeSpan
| Improve this Doc View Source

UseCookies

For more details, click here And here

Declaration
bool UseCookies { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

UseDefaultCredentials

Declaration
bool UseDefaultCredentials { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

UseDefaultCredentialsForProy

Declaration
bool UseDefaultCredentialsForProy { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

UseDefaultProxy

Declaration
bool UseDefaultProxy { get; set; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

UseProxy

Declaration
bool UseProxy { get; set; }
Returns
Type Description
System.Boolean