Home > simplified-fetch > API
main entry to generate the SimplifiedFetch
Signature:
export default class API
| Property | Modifiers | Type | Description |
|---|---|---|---|
| baseConfig | static |
BaseConfig | global basic config |
| Method | Modifiers | Description |
|---|---|---|
| create(baseConfig, apis) | static |
create and return the new Api |
| init(baseConfig, apis) | static |
init Api or [newName] on globalThis |