patch

suspend fun patch(uri: CoapUri, payload: ByteArray = ByteArray(0), contentFormat: Int? = null, configure: CoapRequest.Builder.() -> Unit = {}): CoapResponse(source)

PATCH (RFC 8132 §3).


suspend fun patch(uri: String, payload: ByteArray = ByteArray(0), contentFormat: Int? = null, configure: CoapRequest.Builder.() -> Unit = {}): CoapResponse(source)

PATCH to the CoAP URI uri.