kinetex - v1.0.0-rc.1
    Preparing search index...

    Function readText

    • Read a response body as plain text.

      Parameters

      • response: Response

        The fetch Response.

      • options: ResponseParseOptions = {}

        Parse options (content-type check, charset, size limit, signal).

      Returns Promise<string>

      The decoded text.

      If expectedContentType is set and doesn't match.