• 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

Namespace Dapplo.HttpExtensions

Classes

AuthorizationExtensions

Extensions to help with Authorization

HttpBehaviour

This is the default implementation of the IHttpBehaviour, see IHttpBehaviour for details Most values are initialized via the HttpExtensionsGlobals

HttpBehaviourExtensions

Extensions for the HttpBehaviour class

HttpClientExtensions

Extensions for the HttpClient class

HttpContentExtensions

Extensions for the HttpContent

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)

HttpRequestMessageConfiguration

Use this to configure the HttpRequestMessage, created in the HttpRequestMessageFactory

HttpRequestMessageExtensions

Extensions for the HttpRequestMessage class

HttpResponse

This container can be used to get the details of a response. You can specify your own container, by using the HttpAttribute.

HttpResponse<TResponse>

This container can be used to get the details of a response.

HttpResponse<TResponse, TErrorResponse>

This container can be used to get the details of a response. It also makes it possible to process the error information, and eventually do something different. You can specify your own container, by using the HttpAttribute.

HttpResponseMessageExtensions

Extensions for the HttpResponseMessage class

HttpResponseWithError<TErrorResponse>

This container can be used to get the details of a response without content but with a potential error

MiscExtensions

Misc extensions

UriActionExtensions

Uri extension which perform an action

UriModifyExtensions

Uri extensions which modify an Uri (return a new one)

UriParseExtensions

Uri extensions which help with parsing

Interfaces

IChangeableHttpBehaviour

This interface extends the IHttpBehaviour but makes it possible to change the values. A use-case would be to call Clone on the IHttpBehaviour and modify the settings, return/assign the new value to a IHttpBehaviour This would be needed to pass the IHttpBehaviour via a CallContext.

IHttpBehaviour

The IHttpBehaviour is used to control the behaviour of all operations in the HttpExtensions library.

IHttpContentConverter

This interface is used for all

IHttpRequestConfiguration

This interface is the base interface for configuration information. It makes it possible to supply configuration to different parts of the library during a request, where as a caller you normally don't interact with directly. The interface only specifies the name of the configuration, specific implementations should be used. Instances of this interface are added to the HttpBehaviour, so they are available throughout a request.

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

IJsonSerializer

This interface makes it possible to change the Json serializer which is used for de- serializing JSON. The default implementation for this, SimpleJson, is included in this project

In This Article
Back to top Copyright © Dapplo