-
-
Notifications
You must be signed in to change notification settings - Fork 767
Open
Labels
enhancementNew feature or request.New feature or request.
Description
What is the feature you are proposing?
We require using EventSource to work with SSE routes, but can we have Hono's RPC to have this functionality as well?
const client = hc<typeof app>(`https://${BASE_URL}`)
client.sse.$get({
onMessage(event) { /* do something with this */ },
// other callbacks
}, {
headers: {
Authorization: 'Bearer booyah'
}
})
flipvh, akku1139, sugar-cat7, nakasyou, maxpetretta and 15 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request.New feature or request.