AjaxRequest
2020-10-09 14:08 更新
interface AjaxRequest {
url?: string
body?: any
user?: string
async?: boolean
method?: string
headers?: Object
timeout?: number
password?: string
hasContent?: boolean
crossDomain?: boolean
withCredentials?: boolean
createXHR?: () => XMLHttpRequest
progressSubscriber?: Subscriber<any>
responseType?: string
}
物产
| 属性 | 类型 |
|---|---|
| 网址 | string |
| 身体 | any |
| 用户 | string |
| 异步的 | boolean |
| 方法 | string |
| 标头 | Object |
| 超时 | number |
| 密码 | string |
| hasContent | boolean |
| 跨域 | boolean |
| withCredentials | boolean |
| createXHR | () => XMLHttpRequest |
| progressSubscriber | Subscriber<any> |
| responseType | string |
以上内容是否对您有帮助:

免费 AI IDE


更多建议: