SSE同WebScoket的区别 sse 是单通道,只能服务端向客户端发消息,webscoket 是双通道 SSE使用 前端通过id订阅 <!DOCTYPE html> <html lang="en"&