Chain

interface Chain<T>

A continuation of the interceptor chain.

Properties

Link copied to clipboard
abstract val bodyHandler: <Error class: unknown class><T>
Link copied to clipboard
abstract val pushPromiseHandler: <Error class: unknown class><T>?

Functions

Link copied to clipboard
abstract suspend fun forward(request: <Error class: unknown class>): <Error class: unknown class><T>

Forwards the given request to the rest of the chain, or to the backend if no other interceptors are to be invoked.

Link copied to clipboard
abstract fun <U> with(bodyHandler: <Error class: unknown class><T>, pushPromiseHandler: <Error class: unknown class><T>?): Interceptor.Chain<U>