effect-io-ai

Package: @effect/platform-browser
Module: BrowserHttpClient

BrowserHttpClient.CurrentXHRResponseType

Context reference for the XMLHttpRequest.responseType used by the browser XHR HTTP client, defaulting to "text".

When to use

Use when you need XHR-backed HTTP requests to receive response bodies as text or raw ArrayBuffer values.

See

Signature

declare const CurrentXHRResponseType: Context.Reference<XHRResponseType>

Source

Since v4.0.0