global default options and handlers
未关闭
possible-addon
- 主要语言
- JavaScript
- 星标
- 5.7k
- 派生
- 204
- PR 合并指标
- 30 天内没有已合并 PR
描述
Since fetch apis are used a lot in a typical web application, it would be nice to have a `unfetch.defaults` object that sets default parameters of all requests.
A use case would be to set base URL of all requests.
```
unfetch.defaults.baseURL = 'my-api-endpoint'
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。