tryOptions
suspend fun tryOptions(apiPath: String, headers: Map<String, Any>? = FetchDefaults.Headers, redirect: RequestRedirect? = FetchDefaults.Redirect, abortController: AbortController? = null): ByteArray?(source)
Like options, but returns null if the request failed for any reason.
Additionally, if logOnError is set to true, any failure will be logged to the console. By default, this will be true for debug builds and false for release builds.