Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • zFetchz

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

  • new zFetchz(env: string, timeout?: number): zFetchz
  • Parameters

    • env: string
    • Default value timeout: number = 5000

    Returns zFetchz

Properties

Private interceptArr

interceptArr: InterceptFuncObj[] = []

Methods

Private init

newFetch

  • newFetch(): void

originFetch

  • originFetch(): void

Private packageIntercept

  • packageIntercept(fetch: Function, ...args: any[]): Promise<any>
  • setting the request and response intercept

    Parameters

    • fetch: Function
    • Rest ...args: any[]

    Returns Promise<any>

Object literals

interceptor

interceptor: object

clear

  • clear(): void

register

  • register(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc