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

0.47.2 • Public • Published

HttpClient Library

The HttpClient Library includes a HTTP client for making requests to Airy's API.

The library exports a HttpClient class with public methods that make requests to Airy's API.

To use the library, you need to instantiate the class with an Airy Core API URL.

Install

npm install --save @airyhq/http-client

or

yarn add @airyhq/http-client

Usage

import {HttpClient} from "@airyhq/http-client";

const client = new HttpClient("http://airy.core");
client.listChannels().then(channels => console.debug("channels", channels));

License

Apache 2.0 © Airy, Inc.

/@airyhq/http-client/

    Package Sidebar

    Install

    npm i @airyhq/http-client

    Weekly Downloads

    1

    Version

    0.47.2

    License

    Apache-2.0

    Unpacked Size

    155 kB

    Total Files

    244

    Last publish

    Collaborators

    • engineering-airy
    • cptchrismatic
    • aalgorta
    • steffh
    • audreykadjar