Node.js framework for building applications (cli, server, etc...).
Matter In Motion transport extension.
npm i @matter-in-motion/transport
- Add
transportto your extensions in the settings. - Add at least one transport extension
app.on('transport/http/get/user/:id', (msg, params) =>
console.log('user', params.id)
);You can add other transports:
- http
- websockets - wip
All transports will start with application await app.start()
Sends the response set for the message. For the message structure look into individual transport extension documentation.
There are async hooks available for emit, send, start, and stop methods.
No settings
License: MIT.