An Axios adapter for the http module of the Tauri framework.
| .gitignore | ||
| CHANGELOG.md | ||
| index.js | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
axios-tauri-adapter
An Axios adapter for the http module of the Tauri framework.
Installation
yarn add axios axios-tauri-adapter
Usage
import axios from 'axios';
import axiosTauriAdapter from 'axios-tauri-adapter';
// globally :
axios.defaults.adapter = axiosTauriAdapter;
// or locally :
const client = axios.create({ adapter: axiosTauriAdapter });
Compatibility
| Adapter version | Axios version | Tauri version |
|---|---|---|
0.1.x-0.2.x |
0.23.x-0.27.x |
1.0.0-beta.8 & greater |
0.3.x |
0.23.x-0.27.x |
1.0.0-rc.0 & greater |