delete

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

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

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