A very limited HTTP server.
Not intended to write this... Just want a minified one to handle incoming webhooks.
But then I turn to existing libraries... and leave this half done here.
May anyone find some inspiration in this.
Run npm start
to see. This sample does not show all features.
- Return a promise or a value.
- Throw
new ShouldContinueError
to hand to a next handler. - Maybe some more...