Interceptor to convert messages into multipart form data and back
npm install kronos-interceptor-http-request















kronos-interceptor-http-request
===
Interceptor to convert messages into multipart form data and back
Kind: global function
Returns: newMessage The transformed message
| Param | Description |
| --- | --- |
| message | The message to transform |
Kind: global function
Returns: Promise A promise with the result of the forwardFunction
| Param | Description |
| --- | --- |
| request | The incomming http request |
| forwardFunction | The function to call with the new generated message. The function must return a Promise. If no 'forwardFunction' is given It will return the message in the promise |
*
install
=======
With npm do:
``shell``
npm install kronos-interceptor-http-request
license
=======
BSD-2-Clause