Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.network/Interceptor

Interceptor

interface Interceptor

Interface for intercepting network requests and responses.

Functions

didComplete
Link copied to clipboard
abstract fun didComplete(request: HttpRequest, result: NetworkResult)

Called when a network request is completed along with the corresponding result.

shouldRetry
Link copied to clipboard
abstract fun shouldRetry(request: HttpRequest, result: NetworkResult, retryCount: Int): RetryPolicy

Determines if a network request should be retried based on the provided parameters.

Generated by Dokka
(c) Tealium 2026