Skip to content

st3w4r/hono-sse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hono SSE

Use Hono framework with SSE (Server Sent Event)

Blog post

Introduction Hono with SSE

Installation

cd app/
npx bun install
npx bun run dev

Open in browser, Inspect > Network tab to observe SSE events

open public/index.html

Receive SSE events with curl

curl http://localhost:3000/sse

Output

retry: 1000
id: 0
data: hello

id: 1
data: world

event: close
data: close

About

Use Server Sent Event with Hono

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published