hosanna-ui-docs - v0.9.0
    Preparing search index...

    HsFetch is a custom implementation of an HTTP client for managing asynchronous requests. It supports features like cancellation tokens, custom headers, and response normalization.

    Index

    Constructors

    Properties

    activeRequests: Map<number, IActiveRequest> = ...

    A map of active requests, keyed by their unique identifiers.

    defaultHeaders: Record<string, string> = ...

    Default headers to include in all requests.

    Methods

    • Normalizes response headers by converting all keys to lowercase.

      Parameters

      • headers: Record<string, string>

        The response headers.

      Returns Record<string, string>

      The normalized headers.