JakeWharton/retrofit2-kotlin-coroutines-adapter

Retrieve call URL before we make the request

Closed this issue · 1 comments

@JakeWharton
For Call, we can do the following without making an actual request
call.request().url().toString()

how do we do the same for Deferred?

You cannot. Calling the method will always send the request. If you want execution to be lazy you need to use a lazy type like Call.