https://github.com/skrevolve/sse
Server-Sent Event (HTTP)
https://github.com/skrevolve/sse
Last synced: about 1 year ago
JSON representation
Server-Sent Event (HTTP)
- Host: GitHub
- URL: https://github.com/skrevolve/sse
- Owner: skrevolve
- Created: 2023-05-26T04:26:04.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-30T09:07:18.000Z (about 3 years ago)
- Last Synced: 2025-06-28T02:41:08.455Z (about 1 year ago)
- Language: Go
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSE
Server-Sent Event (HTTP)
- 양방향 통신이 필요하지 않고 Amazon API Gateway, WebSocket 비용보다 좀더 저렴하게 사용하고 싶은 경우 사용
- 서버의 데이터를 지속적으로 Event Streaming
- server -> client 단방향 통신
- 재접속의 저수준 처리 자동지원


### client
```sh
npm install node eventsource
node main
```
### server
```sh
go run main.go
```