tryFetch

suspend fun Window.tryFetch(method: HttpMethod, resource: String, headers: Map<String, Any>? = FetchDefaults.Headers, body: ByteArray? = null, redirect: RequestRedirect? = FetchDefaults.Redirect, logOnError: Boolean = false, abortController: AbortController? = null): ByteArray?(source)

Deprecated

DO NOT IGNORE. Please change to `tryFetchBytes` 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

tryFetchBytes(method, resource, headers, body, redirect, logOnError, abortController)