put

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

Fetches the response to sending a PUT 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.put(uri: String, bodyHandler: <Error class: unknown class><T>, block: RequestWithKnownMethodSpec.() -> Unit = {}): <Error class: unknown class>

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