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

3.40.21 • Public • Published

@tramvai/module-http-client

The module provides the application with a factory of HTTP clients, a basic service for working with various APIs and a service for working with papi.

Link to complete HTTP clients documentation - https://tramvai.dev/docs/features/data-fetching/http-client/

Installation

You need to install @tramvai/module-http-client

yarn add @tramvai/module-http-client

And connect in the project

import { createApp } from '@tramvai/core';
import { HttpClientModule } from '@tramvai/module-http-client';

createApp({
  name: 'tincoin',
  modules: [HttpClientModule],
});

Explanation

The module implements interfaces from the library @tramvai/http-client using a special library - adapter @tramvai/tinkoff-request-http-client-adapter, running on top of @tinkoff/request.

Readme

Keywords

none

Package Sidebar

Install

npm i @tramvai/module-http-client

Weekly Downloads

296

Version

3.40.21

License

Apache-2.0

Unpacked Size

63.8 kB

Total Files

39

Last publish

Collaborators

  • meskill
  • super_oleg
  • tinkoffbank