This package has been deprecated

Author message:

Please use @coolio/http/request-handlers/http from @coolio/http package instead.

@coolio/http-request-handler
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

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
  }),
);

Package Sidebar

Install

npm i @coolio/http-request-handler

Weekly Downloads

1

Version

0.9.0

License

MIT

Unpacked Size

760 kB

Total Files

30

Last publish

Collaborators

  • redscorpio