installPorthole

fun OkHttpClient.Builder.installPorthole(existing: EventListener.Factory? = null, bodies: BodyCapture = BodyCapture.Off): OkHttpClient.Builder(source)

Installs the porthole on a builder.

A client can hold exactly one event listener factory, and the builder does not expose the one already set, so pass yours in existing if you have one and it will be called through to.