0.9.0 • Published 4 years ago
@coolio/http-request-handler v0.9.0
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
}),
);
0.9.0
4 years ago