okhttp / okhttp3 / EventListener / Factory

Factory

interface Factory

Functions

create

abstract fun create(call: Call): EventListener

Creates an instance of the EventListener for a particular Call. The returned EventListener instance will be used during the lifecycle of call.