public static interface EventListener.Factory
| 限定符和类型 | 方法和说明 |
|---|---|
EventListener |
create(Call call)
Creates an instance of the
EventListener for a particular Call. |
EventListener create(Call call)
EventListener for a particular Call. The returned
EventListener instance will be used during the lifecycle of the call.
This method is invoked after the call is created. See
OkHttpClient.newCall(Request).
It is an error for implementations to issue any mutating operations on the
call instance from this method.
Copyright © 2024. All rights reserved.