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!
Here’s an example with Hono:
And one with Peko:
A super tiny example with itty-router:
A simple example of using feTS server:
Notice, that it exports the
router, which allows to use the feTS client to make routes type safe: