0.9.0 • Published 4 years ago

@coolio/http-request-handler v0.9.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Coolio

Http Request Handler

Http request handler can be used with HttpClient to handle request, using Node.js native http/https modules.

Quick Start

Add the Http Request Handler package, assuming that you already have @coolio/http installed:

npm install @coolio/http-request-handler
import { httpRequestHandler } from '@coolio/http-request-handler';

const client = new HttpClient(
 //...
  requestHandler: httpRequestHandler({
    // Any options here
  }),
);