options

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

Call OPTIONS on a target resource.

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