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

2.0.259 • 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

1,084

Version

2.0.259

License

MIT

Unpacked Size

12.8 kB

Total Files

9

Last publish

Collaborators

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