protocol-agnostic-router
v1.0.1
Published
Subclassable protocol agnostic router, HTTP as proof of concept
Downloads
7
Readme
This module features Router
: an abstract boilerplate synchronous message processor for custom middleware applications.
Although it's accompanied with an HTTP specific descendant, HttpRouter
(see test code for a working example), this is only a proof of concept, by no means supposed to compete with advanced HTTP servers. Developers in need of a well known HTTP centric RESTful framework better consider using express or like.
This, really protocol-agnostic-router
, may be useful in complex applications where messages of different nature are better to be processed in some uniform way.