receive

inline suspend fun <T> HttpClientCall.receive(): T

Tries to receive the payload of the response as a specific type T.

Throws


inline suspend fun <T> HttpResponse.receive(): T

Tries to receive the payload of the response as a specific type T described in typeInfo.

Throws