[android-components](../../index.md) / [mozilla.components.lib.fetch.okhttp](../index.md) / [OkHttpClient](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`OkHttpClient(client: OkHttpClient = OkHttpClient(), context: `[`Context`](https://developer.android.com/reference/android/content/Context.html)`? = null)`

[Client](../../mozilla.components.concept.fetch/-client/index.md) implementation using OkHttp.

