Improve this Doc View Source

Class HttpExtensionsGlobals

These are the globals for some of the important configurable settings When a HttpBehaviour is created, some of the values from here will be copied. (unless diffently specified)

Inheritance
System.Object
HttpExtensionsGlobals
Namespace:Dapplo.HttpExtensions
Assembly:Dapplo.HttpExtensions.dll
Syntax
public class HttpExtensionsGlobals

Properties

| Improve this Doc View Source

DefaultEncoding

The global default encoding

Declaration
public static Encoding DefaultEncoding { get; set; }
Returns
Type Description
System.Text.Encoding
| Improve this Doc View Source

HttpContentConverters

The global list of HttpContent converters

Declaration
public static IList<IHttpContentConverter> HttpContentConverters { get; set; }
Returns
Type Description
System.Collections.Generic.IList<IHttpContentConverter>
| Improve this Doc View Source

HttpSettings

The global IHttpSettings

Declaration
public static IHttpSettings HttpSettings { get; set; }
Returns
Type Description
IHttpSettings
| Improve this Doc View Source

JsonSerializer

The global JsonSerializer

Declaration
public static IJsonSerializer JsonSerializer { get; set; }
Returns
Type Description
IJsonSerializer
| Improve this Doc View Source

OAuth2ExpireOffset

This offset is used in the OAuth2Setting.IsAccessTokenExpired to check the OAuth2AccessTokenExpires Now + this > OAuth2AccessTokenExpires

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

ReadBufferSize

The global read buffer-size

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

ThrowOnError

Global value for ThrowOnError, see IHttpBehaviour

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

UiTaskScheduler

This value is used when a Task needs to run on the UI Thread, e.g. the EmbeddedBrowserCodeReceiver

Declaration
public static TaskScheduler UiTaskScheduler { get; set; }
Returns
Type Description
System.Threading.Tasks.TaskScheduler
| Improve this Doc View Source

UseProgressStreamContent

Global value for UseProgressStream, see IHttpBehaviour

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

ValidateResponseContentType

Global validate response content-type

Declaration
public static bool ValidateResponseContentType { get; set; }
Returns
Type Description
System.Boolean