• Getting Started
  • Tutorials
  • Api Documentation
Show / Hide Table of Contents
  • Onbox.Abstractions.V8
    • IContainer
    • IContainerPipeline
    • IContainerResolver
    • IContainerResolverPipeline
    • IHttpService
    • IJsonService
    • ILoggingService
    • IMapper
    • IMessageService
    • IProgressIndicator
  • Onbox.Core.V8
    • CoreExtensions
    • OnboxExceptionBase
  • Onbox.Core.V8.Http
    • HttpExtensions
    • HttpInterceptor
    • HttpService
    • HttpSettings
    • IHttpInterceptor
  • Onbox.Core.V8.Json
    • JsonExtensions
    • JsonService
  • Onbox.Core.V8.Logging
    • FileLoggingService
    • FileLoggingSettings
  • Onbox.Core.V8.Mapping
    • IMapperActionManager
    • IMapperOperator
    • Mapper
    • MapperActionManager
    • MapperOperator
  • Onbox.Core.V8.Messaging
    • MessageDebugService
  • Onbox.Core.V8.ReactFactory
    • Debouncer
    • Interval
    • ReactFactory
  • Onbox.Core.V8.Reporting
    • ProgressCancelledException
    • ProgressConsoleDebugIndicator
  • Onbox.Di.V8
    • Container
  • Onbox.Mvc.Abstractions.V8
    • IMvcComponent
    • IMvcLifecycleComponent
    • IMvcLifecycleView
    • IMvcView
    • IMvcViewModal
    • IMvcViewModeless
  • Onbox.Mvc.Revit.Abstractions.V8
    • IRevitMvcViewBase
  • Onbox.Mvc.V8
    • TitleVisibility
  • Onbox.Revit.Abstractions.V8
    • IRevitAppData
  • Onbox.Revit.V8
    • ContainerProviderAttribute
    • IRevitContext
    • IRevitExternalApp
    • RevitAppData
    • RevitContainerProviderBase
    • RevitLanguage
  • Onbox.Revit.V8.Applications
    • ContainerPipelineExtensions
    • RevitApp
    • RevitAppBase<TContainer>
  • Onbox.Revit.V8.Async
    • IRevitEventHandler
    • RevitAsyncExtensions
    • RevitAsyncSettings
    • RevitExternalHandler
  • Onbox.Revit.V8.Commands
    • IRevitDestroyableCommand
    • RevitAppCommand<TApplication>
    • RevitContainerCommand<TContainerPipeline>
    • RevitContainerCommandBase<TContainerPipeline, TContainer>
  • Onbox.Revit.V8.ExtensibleStorage
    • AccessLevel
    • IRevitJsonStorage<T>
    • RevitExtensibleStorageEntensions
    • RevitExtensibleStorageSettings
    • RevitJsonStorage<T>
    • RevitSchemaSettings
    • RevitStorageBuilder
  • Onbox.Revit.V8.UI
    • ImageManager
    • IRibbonManager
    • IRibbonPanelManager
    • IRibbonTabManager
    • RibbonHelpers
    • RibbonManager
    • RibbonPanelManager
    • RibbonTabManager
  • Onbox.Store.V8
    • IStorageSubscription
    • IStore<TState>
    • IStoreAction<TState, TSlice>
    • StateEntry<TState>
    • StorageSubscription
    • Store<TState>
    • StoreExtensions

Class HttpExtensions

Helper extensions for HttpService and IOC container

Inheritance
System.Object
HttpExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Onbox.Core.V8.Http
Assembly: Onbox.Core.dll
Syntax
public static class HttpExtensions

Methods

| Improve this Doc View Source

AddHttp(IContainer)

Adds IHttpService as HttpService to the container

Declaration
public static IContainer AddHttp(this IContainer container)
Parameters
Type Name Description
IContainer container
Returns
Type Description
IContainer
| Improve this Doc View Source

AddHttp(IContainer, IHttpInterceptor, Action<HttpSettings>)

Adds IHttpService as HttpService to the container with interception and configuration

Declaration
public static IContainer AddHttp(this IContainer container, IHttpInterceptor httpInterceptor, Action<HttpSettings> config = null)
Parameters
Type Name Description
IContainer container
IHttpInterceptor httpInterceptor
System.Action<HttpSettings> config
Returns
Type Description
IContainer
| Improve this Doc View Source

AddHttp(IContainer, Action<HttpSettings>)

Adds IHttpService as HttpService to the container with configuration

Declaration
public static IContainer AddHttp(this IContainer container, Action<HttpSettings> config = null)
Parameters
Type Name Description
IContainer container
System.Action<HttpSettings> config
Returns
Type Description
IContainer
| Improve this Doc View Source

AddHttp(IContainer, Action<HttpSettings>, Action<HttpRequestMessage>, Action<HttpResponseMessage>)

Adds IHttpService as HttpService to the container with interception

Declaration
public static IContainer AddHttp(this IContainer container, Action<HttpSettings> config = null, Action<HttpRequestMessage> beforeSendingAction = null, Action<HttpResponseMessage> afterSendingAction = null)
Parameters
Type Name Description
IContainer container
System.Action<HttpSettings> config
System.Action<System.Net.Http.HttpRequestMessage> beforeSendingAction
System.Action<System.Net.Http.HttpResponseMessage> afterSendingAction
Returns
Type Description
IContainer
| Improve this Doc View Source

AddHttp<TInterceptor>(IContainer, Action<HttpSettings>)

Adds IHttpService as HttpService to the container with interception and configuration

Declaration
public static IContainer AddHttp<TInterceptor>(this IContainer container, Action<HttpSettings> config = null)
    where TInterceptor : IHttpInterceptor, new()
Parameters
Type Name Description
IContainer container
System.Action<HttpSettings> config
Returns
Type Description
IContainer
Type Parameters
Name Description
TInterceptor
| Improve this Doc View Source

ConfigureHttp(IContainer, Action<HttpSettings>)

Adds IHttpService as HttpService to the container with configuration

Declaration
public static IContainer ConfigureHttp(this IContainer container, Action<HttpSettings> config)
Parameters
Type Name Description
IContainer container
System.Action<HttpSettings> config
Returns
Type Description
IContainer
  • Improve this Doc
  • View Source
Back to top Generated by DocFX