vue-json-rpc-client-fetch-withcredentials
A simple vue.js fetch based JSON RPC client written in TypeScript.
628
2
| Install | |
|---|---|
npm install vue-json-rpc-client-fetch-withcredentials |
|
| Latest Version: | 1.6.2 |
| License: | MIT |
| Last Updated: | Feb 4, 2023 |
| Links: | GitHub · npm |
Maintainer: pedroresende
VUE-JS-JSON-RPC-CLIENT-WITHCREDENTIALS Vue.js integration
Install
$ npm install vue-json-rpc-client-fetch-withcredentials
Open you main.js file and add the following
import JsonRpcVueClient from 'vue-json-rpc-client-fetch-withcredentials'
Vue.use(JsonRpcVueClient, 'URL', 'CREDENTIALS', 'NEWHEADERS', 'DEBUG');
In your .vue file, to make a call just do it using
this.$JsonRpcVueClient.request('method_name', {params})
.then((response) => {
console.log(response);
})
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.6.2 | MIT | |
| 1.6.1 | MIT | |
| 1.6.0 | MIT | |
| 1.5.0 | MIT | |
| 1.4.0 | MIT | |
| 1.3.3 | MIT | |
| 1.3.2 | MIT | |
| 1.3.1 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.9 | MIT | |
| 1.0.8 | MIT | |
| 1.0.7 | MIT | |
| 1.0.6 | MIT | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |