Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Fetch

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static hasSetup

hasSetup: boolean = false

Static interceptors

interceptors: Function[]

Static real

real: (input: RequestInfo, init?: RequestInit) => Promise<Response>

Type declaration

    • (input: RequestInfo, init?: RequestInit): Promise<Response>
    • Parameters

      • input: RequestInfo
      • Optional init: RequestInit

      Returns Promise<Response>

Methods

Static add

  • add(interceptor: (request: Request) => void): void
  • Parameters

    • interceptor: (request: Request) => void
        • (request: Request): void
        • Parameters

          • request: Request

          Returns void

    Returns void

Static setup

  • setup(force?: boolean): void

Generated using TypeDoc