kohttp / io.github.rybalkinsd.kohttp.dsl / httpPatch

httpPatch

fun httpPatch(client: Factory = defaultHttpClient, init: HttpPatchContext.() -> Unit): Response

Method provides an synchronous DSL call of HTTP PATCH

Parameters

client - allow to use your own implementation of HttpClient. defaultHttpClient is used by default.

Return

a Response instance.

Usage example with default defaultHttpClient:

See Also

Response

HttpPatchContext

Since
0.2.0

Author
Bpaxio