Skip to content

trackkit / dispatcher/types / NetworkDispatcherOptions

Interface: NetworkDispatcherOptions

Defined in: dispatcher/types.ts:558

Internal

Internal options passed to the NetworkDispatcher.

These are already defaulted and normalised; external callers should use DispatcherOptions instead.

Properties

batching

batching: ResolvedBatchingOptions

Defined in: dispatcher/types.ts:559


resilience

resilience: ResolvedResilienceOptions

Defined in: dispatcher/types.ts:560


bustCache

bustCache: boolean

Defined in: dispatcher/types.ts:561


transportMode

transportMode: TransportMode

Defined in: dispatcher/types.ts:562


defaultHeaders

defaultHeaders: Record<string, string | undefined>

Defined in: dispatcher/types.ts:563


diagnostics?

optional diagnostics: null | DiagnosticsService

Defined in: dispatcher/types.ts:564


performanceTracker?

optional performanceTracker: null | PerformanceTracker

Defined in: dispatcher/types.ts:565


transportOverride?

optional transportOverride: Transport

Defined in: dispatcher/types.ts:572

Optional explicit transport override.

Primarily intended for tests and specialised use-cases; most callers should configure transportMode instead.

Released under the MIT License.