Options
All
  • Public
  • Public/Protected
  • All
Menu
export
interface

TxiosInterceptorManager

template

T

description

这个拦截器管理对象对外接口

                      -- request -- use(resolve, reject)
                     /

axios -- interceptors --
-- response -- use(resolve, reject)

对于 resolve 参数 request 里面就是 TxiosRequestConfig response 里面就是 TxiosResponse 所以这里用泛型来实现

eject 表示删除拦截器

Type parameters

  • T

Hierarchy

  • TxiosInterceptorManager

Index

Methods

Methods

eject

  • eject(id: number): void

use

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • 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