SessionCacheInterceptor

public protocol SessionCacheInterceptor : Interceptor

A type that represents a session cache interceptor used for intercepting a cached response.

  • # Summary Intercepting the cached response.

    Declaration

    Swift

    func intercept(cachedResponse: CachedURLResponse) -> CachedURLResponse

    Parameters

    cachedResponse

    The proposed cached response.

    Return Value

    The intercepted cached response.