Table of Contents

Interface IApizrGlobalSharedOptionsBase

Namespace
Apizr.Configuring.Shared
Assembly
Apizr.dll

Options available at all (common, proper and request) levels and for all (static and extended) registration types

public interface IApizrGlobalSharedOptionsBase

Properties

CacheOptions

The caching options to apply

IDictionary<ApizrConfigurationSource, CacheAttributeBase> CacheOptions { get; }

Property Value

IDictionary<ApizrConfigurationSource, CacheAttributeBase>

ExceptionHandlers

Catching potential exception if defined

IList<IApizrExceptionHandler> ExceptionHandlers { get; }

Property Value

IList<IApizrExceptionHandler>

HandlersParameters

Parameters passed through delegating handlers

IDictionary<string, object> HandlersParameters { get; }

Property Value

IDictionary<string, object>

HttpTracerMode

Http traffic tracing mode

HttpTracerMode HttpTracerMode { get; }

Property Value

HttpTracerMode

LetThrowOnHandledException

Let throw potential exception even if it's handled (default: true)

bool LetThrowOnHandledException { get; }

Property Value

bool

LogLevels

Log levels while writing

LogLevel[] LogLevels { get; }

Property Value

LogLevel[]

OperationTimeout

The operation timeout (overall request tries)

TimeSpan? OperationTimeout { get; }

Property Value

TimeSpan?

RequestTimeout

The request timeout (each request try)

TimeSpan? RequestTimeout { get; }

Property Value

TimeSpan?

ResiliencePipelineOptions

Resilience pipeline keys from the registry

IDictionary<ApizrConfigurationSource, ResiliencePipelineAttributeBase[]> ResiliencePipelineOptions { get; }

Property Value

IDictionary<ApizrConfigurationSource, ResiliencePipelineAttributeBase[]>

ShouldRedactHeaderValue

The Func<T, TResult> which determines whether to redact the HTTP header value before logging.

Func<string, bool> ShouldRedactHeaderValue { get; }

Property Value

Func<string, bool>

TrafficVerbosity

Http traffic tracing verbosity

HttpMessageParts TrafficVerbosity { get; }

Property Value

HttpMessageParts