Websockets
Any way to modify the request path in middleware?
Handling promises resolvers with an in-memory `Map` object
index.ts
file.
The project I'm building requires starting a request from one client and "confirming" the request from another client. This means that client A must reach out to the /hello-request
endpoint, and client B must use /hello-confirm/:helloId
to resolve the request. This also works under the assumption that client B would be sent the helloId
value in a separate step....zValidator middleware custom hook
q
becomes undefined. Hope someone can help me
```ts
const errorHandler: Hook<Record<string, unknown>, Env, string, {}> = async (result, c) =>{...Setting up Client Components
Seeking Guidance: Transitioning from Hono.js with Cloudflare Workers to AWS Lambda
How do I properly serve static files (generated by Astro)?
http://localhost:3000/_astro/headerBg.C9Twm_Bk.png
returns 404.
Here's my project structure:...When there's an error on my typescript code on Hono, Vite Dev Server crashes, and doesn't restart
How to implement Oauth in Hono?
Failed to load .env file ".env": Error: ENOENT: no such file or directory
executionCtx.waitUntil on write service
Does Hono JSX do client-side hydration?
StreamSSE on http2
Optional params in hono/client
/:idOrSlug?/invite
, then it will match /invite
and /:idOrSlug/invite
.
And if I insert the correct value for the hono client then everything will work, but if it is undefined it will just put the undefined value in the url as shown in the screenshot above....What is the best way to handle the error?
trycatch
2. Returning c.json({ message: 'Invalid password' }, 401)
3. Throwing HTTPException(401, { message: 'Invalid password' })
...Running `bun run dev` on a newly created Cloudflare Pages example spits an error
connect my hono application endpoints with swagger ui