kohttp / io.github.rybalkinsd.kohttp.dsl.context / HttpPatchContext

HttpPatchContext

class HttpPatchContext : HttpPostContext

Constructors

<init>

HttpPatchContext()

Inherited Functions

body

fun body(contentType: String? = null, init: BodyContext.() -> RequestBody): Unit

makeBody

open fun makeBody(): RequestBody

multipartBody

fun multipartBody(contentType: String? = null, init: MultipartBodyContext.() -> Unit): Unit

Extension Functions

url

fun HttpContext.url(url: URL): Unit
fun HttpContext.url(url: String): Unit