Route handler function signature for registered GET/POST/etc. routes.
The return value is ignored — it is unknown only so handlers can return res.end(...) as a
terse "respond and stop", which is the prevailing style in setup/web-server.ts. Narrowing
this to void would reject every such handler.
const handler: RouteHandler = (_req, res) => res.end('served');