get

inline suspend fun <T> Client.get(uri: String, noinline block: BaseRequestSpec.() -> Unit = {}): <Error class: unknown class>

Fetches the response to sending a GET request to the given URI, mapping the response body into T. A spec block can be optionally passed to customize the request.


suspend fun <T> Client.get(uri: String, bodyHandler: <Error class: unknown class><T>, block: BaseRequestSpec.() -> Unit = {}): <Error class: unknown class>

Fetches the response to sending a GET request to the given URI, mapping the response body with the given BodyHandler. A spec block can be optionally passed to customize the request.


operator fun <Error class: unknown class>.get(name: String): List<String>

Returns all header values associated with the given name.