[android-components](../index.md) / [mozilla.components.concept.fetch.interceptor](index.md) / [withInterceptors](./with-interceptors.md)

# withInterceptors

`fun `[`Client`](../mozilla.components.concept.fetch/-client/index.md)`.withInterceptors(vararg interceptors: `[`Interceptor`](-interceptor/index.md)`): `[`Client`](../mozilla.components.concept.fetch/-client/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/fetch/src/main/java/mozilla/components/concept/fetch/interceptor/Interceptor.kt#L51)

Creates a new [Client](../mozilla.components.concept.fetch/-client/index.md) instance that will use the provided list of [Interceptor](-interceptor/index.md) instances.

