retrieveObject

inline fun <T : Any> BlockingHttpClient.retrieveObject(request: HttpRequest<Any>): T

Perform an HTTP request for the given request object emitting the full HTTP response from returned Publisher and converting the response body to the specified type.

Return

The response from the client as an instance of T

Author

Will Buck

Since

1.0.0

Parameters

T

The argument type

request

The HttpRequest you want to perform