[android-components](../../index.md) / [mozilla.components.lib.fetch.okhttp](../index.md) / [OkHttpClient](index.md) / [getOrCreateCookieManager](./get-or-create-cookie-manager.md)

# getOrCreateCookieManager

`fun getOrCreateCookieManager(): `[`CookieManager`](http://docs.oracle.com/javase/7/docs/api/java/net/CookieManager.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/fetch-okhttp/src/main/java/mozilla/components/lib/fetch/okhttp/OkHttpClient.kt#L57)