Closed istathar closed 1 year ago
Introduce new module Core.Webserver.Router containing a simple mechanism for routing HTTP requests to handler functions.
Using this allows a developer to avoid needing to rely on more complex packages like servant if their routing needs are straight-forward.
Here's the API shape now:
you pass that to prepareRoutes and you're on your way.
prepareRoutes
Introduce new module Core.Webserver.Router containing a simple mechanism for routing HTTP requests to handler functions.
Using this allows a developer to avoid needing to rely on more complex packages like servant if their routing needs are straight-forward.