English | 简体中文
- Porting the excellent @angular/common/http module.
- Responsive ajax library based on rxjs.
- Written in TypeScript with predictable static types.
- Powerful and easy to use.
yarn add rjax # or: npm install rjax --save
import { Rjax } from 'rjax';
const rjax = new Rjax();
rjax.get(`/user/12345`).subscribe(response => {
// Succeed Callback
console.log(response);
}, error => {
// Error Callback
console.log(error);
});
API document and example link
rjax © ppjjzz, Released under the MIT License.
Authored and maintained by ppjjzz.