global default options and handlers
Aperta
possible-addon
- Lingua principale
- JavaScript
- Stelle
- 5.7k
- Fork
- 204
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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'
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.