Hono IPC Routes
Resources
Quick Reference
// Route: src/shared/callable/users/index.ts
export const route = new Hono<{ Variables: AppVariables }>()
.get('/', async (c) => c.json(await c.var.services.users.list(), 200))
.post('/', zValidator('json', schema), async (c) => { ... });
// Client: fully typed
const users = await client.users.$get().then(r => r.json());
Related Skills