Skip to content

Routing

One of the coolest things about the Request/Response API is that it works with modern web frameworks, so you can use routing and their helper methods!

Hono

Here’s an example with Hono:

Peko

And one with Peko:

nhttp

And nhttp:

itty-router

A super tiny example with itty-router: