kwhitley / itty-router-extras

An assortment of delicious extras for the calorie-light itty-router.
MIT License
84 stars 12 forks source link

Allow the request to be used in other middleware #27

Open aarhus opened 2 years ago

aarhus commented 2 years ago

By cloning the request, the request can then be reused in other middleware (makes it easier to clone the request to send to a service binding)