retrofit / retrofit2 / Retrofit / callAdapter

callAdapter

fun callAdapter(returnType: Type!, annotations: Array<Annotation!>!): CallAdapter<*, *>!

Returns the CallAdapter for returnType from the available .

Exceptions

IllegalArgumentException - if no call adapter available for type.