[Javascript] Server-Send Event套件: sse-channel

sse-channel
https://github.com/rexxars/sse-channel

SSE:伺服器發送事件
https://www.kancloud.cn/kancloud/javascript-standards-reference/46466

server-side-events(SSE)開發指南(Node)
https://zhuanlan.zhihu.com/p/47099953

Node.js - SSE (Server-Sent Events) Example + Javascript Client
https://www.woolha.com/tutorials/node-js-sse-server-sent-events-example-javascript-client

前端SSE推送技術詳解
https://www.ctolib.com/topics-129536.html

sse-channel是使用Javascript所開發的Server-Send Event(SSE)套件,運行於Node.js上。Server-Send Event主要用於接收伺服器主動發送事件,與 WebSocket 作用相似,都是建立流覽器與伺服器之間的通信管道,然後伺服器向流覽器推送資訊。伺服器以text/event-stream 格式接收事件,且可自動重連不關閉連接,通過單向通道由伺服器向流覽器發送訊息。


#Javascript, NodeJS, Server Sent Events, SSE, EventSource

留言