Fetch Client API Documentation - v1.1.1
    Preparing search index...

    Type Alias ResponseType

    ResponseType: "json" | "text" | "blob" | "arrayBuffer" | "auto"

    Supported response types for automatic parsing

    Determines how the response body should be parsed

    // Automatic detection based on Content-Type header
    const autoType: ResponseType = 'auto';

    // Force specific parsing
    const jsonType: ResponseType = 'json'; // Parse as JSON object
    const textType: ResponseType = 'text'; // Parse as plain string
    const blobType: ResponseType = 'blob'; // Parse as Blob (files)
    const bufferType: ResponseType = 'arrayBuffer'; // Parse as ArrayBuffer