emarref avatar
emarref
HttpMiddlewareChain
Script
An implementation of chainable http middleware. Wrap your http handlers in middleware to add functionality and reduce code duplication. export default function chain() .then(add(requireHttpMethod("post"))) .then(add(requireAuthentication())) .then(send())
0
emarref avatar
emarref
HttpMiddleware
Script
Chainable middleware functions to simplify http requests.
0
1
Next
Updated: June 14, 2024