AjaxRequest

2020-10-09 14:08 更新
  1. interface AjaxRequest {
  2. url?: string
  3. body?: any
  4. user?: string
  5. async?: boolean
  6. method?: string
  7. headers?: Object
  8. timeout?: number
  9. password?: string
  10. hasContent?: boolean
  11. crossDomain?: boolean
  12. withCredentials?: boolean
  13. createXHR?: () => XMLHttpRequest
  14. progressSubscriber?: Subscriber<any>
  15. responseType?: string
  16. }

物产

属性 类型
网址 string
身体 any
用户 string
异步的 boolean
方法 string
标头 Object
超时 number
密码 string
hasContent boolean
跨域 boolean
withCredentials boolean
createXHR () => XMLHttpRequest
progressSubscriber Subscriber<any>
responseType string
以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号