patch

suspend fun patch(resource: String, headers: Map<String, Any>? = FetchDefaults.Headers, body: ByteArray? = null, redirect: RequestRedirect? = FetchDefaults.Redirect, abortController: AbortController? = null): ByteArray(source)

Deprecated

DO NOT IGNORE. Please change to `patchBytes` instead. This method will be modified soon in a backwards incompatible way, in order to support additional cases that the current form doesn't support.

Replace with

patchBytes(resource, headers, body, redirect, abortController)

Call PATCH on a target resource.

See also tryPatch, which will return null if the request fails for any reason.