• 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 HttpInterceptor

Provides the ability to intercept requests made by HttpService

Inheritance
System.Object
HttpInterceptor
Implements
IHttpInterceptor
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 class HttpInterceptor : IHttpInterceptor

Methods

| Improve this Doc View Source

AfterSending(HttpResponseMessage)

Right all responses are processed, this method will be called. You have the ability to modify the response before they are serialized.
You can use this to log incoming messages, process errors and so on.

Declaration
public void AfterSending(HttpResponseMessage response)
Parameters
Type Name Description
System.Net.Http.HttpResponseMessage response
| Improve this Doc View Source

BeforeSending(HttpRequestMessage)

Right before all requests are sent, this method will be called.
You have the ability to modify the request like adding authentication tokens, identification, data modifiers and so on.

Declaration
public void BeforeSending(HttpRequestMessage request)
Parameters
Type Name Description
System.Net.Http.HttpRequestMessage request

Implements

IHttpInterceptor
  • Improve this Doc
  • View Source
Back to top Generated by DocFX