feignjs-request

0.0.6 • Public • Published

Feignjs-request

Request client for FeignJs

Installation

npm install feignjs-request

Getting started

this library can be used as client for feign:

feign.builder()
    .client(new FeignRequest())        
    .target(restDescription, 'http://jsonplaceholder.typicode.com');

Options

The constructor accepts an options-object:

Option Note default
debug enabled debug logging in request false
json configures request to use json true
defaults a default-request object (passed to request.defaults) null

Package Sidebar

Install

npm i feignjs-request

Weekly Downloads

3

Version

0.0.6

License

MIT

Last publish

Collaborators

  • warmuuh