如何在使用带有改造 2.0 的 moshi 'deferred' 时获取请求 url

How to get the request url while using moshi 'deferred' with retrofit 2.0

我想知道如何在使用带有 moshi 和 'Deferred' 协程的改造 2.0 时获取请求 url

有方法可以从请求调用中获取 url。

call.request().url().toString()