Plain Node-client for FeignJs (using http.request)
npm install feignjs-node
this library can be used as client for feign:
feign.builder()
.client(new FeignNode())
.target(restDescription, 'http://jsonplaceholder.typicode.com');
The constructor accepts an options-object:
Option | Note | default |
---|---|---|
defaults | defaults to be used | {} |