• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.HttpExtensions
    • AuthorizationExtensions
    • HttpBehaviour
    • HttpBehaviourExtensions
    • HttpClientExtensions
    • HttpContentExtensions
    • HttpExtensionsGlobals
    • HttpRequestMessageConfiguration
    • HttpRequestMessageExtensions
    • HttpResponse
    • HttpResponse<TResponse, TErrorResponse>
    • HttpResponse<TResponse>
    • HttpResponseMessageExtensions
    • HttpResponseWithError<TErrorResponse>
    • IChangeableHttpBehaviour
    • IHttpBehaviour
    • IHttpContentConverter
    • IHttpRequestConfiguration
    • IHttpSettings
    • IJsonSerializer
    • MiscExtensions
    • UriActionExtensions
    • UriModifyExtensions
    • UriParseExtensions
  • Dapplo.HttpExtensions.ContentConverter
    • ByteArrayHttpContentConverter
    • DefaultJsonHttpContentConverter
    • DefaultJsonHttpContentConverterConfiguration
    • FormUriEncodedContentConverter
    • StreamHttpContentConverter
    • StringConfiguration
    • StringHttpContentConverter
    • SyndicationFeedHttpContentConverter
    • XDocumentHttpContentConverter
  • Dapplo.HttpExtensions.Extensions
    • EnumExtensions
    • HttpBehaviourExtensions
    • StringExtensions
    • TypeExtensions
  • Dapplo.HttpExtensions.Factory
    • HttpClientFactory
    • HttpContentFactory
    • HttpMessageHandlerFactory
    • HttpRequestMessageFactory
    • WebProxyFactory
  • Dapplo.HttpExtensions.JsonNet
    • JsonNetJsonSerializer
    • ReadOnlyConsideringContractResolver
  • Dapplo.HttpExtensions.JsonSimple
    • DataContractJsonSerializerStrategy
    • DefaultJsonHttpContentConverter
    • IJsonSerializerStrategy
    • JsonExtensionDataAttribute
    • PocoJsonSerializerStrategy
    • SimpleJson
    • SimpleJsonSerializer
  • Dapplo.HttpExtensions.Listener
    • HttpListenerContextExtensions
    • ListenerPortExtensions
    • UriHttpListenerExtensions
  • Dapplo.HttpExtensions.OAuth
    • AuthorizeModes
    • BaseOAuthSettings
    • GrantTypes
    • ICodeReceiverSettings
    • IOAuth1Token
    • IOAuth2Token
    • IOAuthCodeReceiver
    • OAuth1HttpBehaviour
    • OAuth1HttpBehaviourFactory
    • OAuth1HttpMessageHandler
    • OAuth1Parameters
    • OAuth1RequestConfiguration
    • OAuth1Settings
    • OAuth1SignatureTransports
    • OAuth1SignatureTypes
    • OAuth1Token
    • OAuth2HttpBehaviourFactory
    • OAuth2HttpMessageHandler
    • OAuth2Settings
    • OAuth2TokenResponse
    • OAuthExtensions
  • Dapplo.HttpExtensions.OAuth.CodeReceivers
    • EmbeddedBrowserCodeReceiver
  • Dapplo.HttpExtensions.OAuth.Desktop
    • OAuthLoginForm
  • Dapplo.HttpExtensions.Support
    • HttpPartAttribute
    • HttpParts
    • HttpRequestAttribute
    • HttpResponseAttribute
    • HttpSettings
    • MediaTypes
    • ProgressStream
    • ProgressStreamReport
  • Dapplo.HttpExtensions.SystemTextJson
    • SystemTextJsonSerializer
  • Dapplo.HttpExtensions.WinForms.ContentConverter
    • BitmapConfiguration
    • BitmapHttpContentConverter
  • Dapplo.HttpExtensions.Wpf.ContentConverter
    • BitmapSourceConfiguration
    • BitmapSourceHttpContentConverter

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
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()
Namespace: Dapplo.HttpExtensions
Assembly: Dapplo.HttpExtensions.dll
Syntax
public static class HttpExtensionsGlobals

Properties

| Improve this Doc View Source

DefaultEncoding

The global default encoding

Declaration
public static Encoding DefaultEncoding { get; set; }
Property Value
Type Description
Encoding
| Improve this Doc View Source

DefaultUriEscapeFunc

The GLOBAL default function for the uri escaping, this is Uri.EscapeDataString Some projects might rather use Uri.EscapeUriString, be careful changing this!

Declaration
public static Func<string, string> DefaultUriEscapeFunc { get; }
Property Value
Type Description
Func<System.String, System.String>
| Improve this Doc View Source

HttpContentConverters

The global list of HttpContent converters

Declaration
public static IList<IHttpContentConverter> HttpContentConverters { get; set; }
Property Value
Type Description
IList<IHttpContentConverter>
| Improve this Doc View Source

HttpSettings

The global IHttpSettings

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

JsonSerializer

The global JsonSerializer

Declaration
public static IJsonSerializer JsonSerializer { get; set; }
Property Value
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; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ReadBufferSize

The global read buffer-size

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

ThrowOnError

Global value for ThrowOnError, see IHttpBehaviour

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

UseProgressStream

Global value for UseProgressStream, see IHttpBehaviour

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

ValidateResponseContentType

Global validate response content-type

Declaration
public static bool ValidateResponseContentType { get; set; }
Property Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © Dapplo