@trustpayments/http-client
TypeScript icon, indicating that this package has built-in type declarations

2.0.242 • Public • Published

httpclient

Http Client Service

Usage

/* import HttpClient from '@trustpayments/httpclient'; */ default export
import { HttpClient } from '@trustpayments/httpclient';

const instance = new HttpClient();

instance.get$ /* Observable<HttpClientResponseInterface<T>> */
instance.post$  /* Observable<HttpClientResponseInterface<T>> */
instance.put$  /* Observable<HttpClientResponseInterface<T>> */
instance.patch$  /* Observable<HttpClientResponseInterface<T>> */
instance.delete$  /* Observable<HttpClientResponseInterface<T>> */

Readme

Keywords

none

Package Sidebar

Install

npm i @trustpayments/http-client

Weekly Downloads

245

Version

2.0.242

License

MIT

Unpacked Size

12.8 kB

Total Files

9

Last publish

Collaborators

  • llifon-jones-tp
  • stdevapi
  • james-simpson-st