New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加SSE推送方式的协议支持,增加/sse订阅url,增加sse.html作为SSE推送的例子 #81

Merged
merged 1 commit into from May 17, 2017

Conversation

Projects
None yet
2 participants
@charlescui
Contributor

charlescui commented May 16, 2017

/stream的订阅方式,返回的内容格式不支持SSE,导致HTML5端无法使用EventSource JS对象。
修改的代码版本,增加了SSE要求的返回头,修改了body的内容chunk格式,增加了/sseURL用于订阅SSE消息,使用方法和/stream一致。

@ideawu ideawu merged commit 26c3054 into ideawu:master May 17, 2017

@ideawu

This comment has been minimized.

Owner

ideawu commented May 17, 2017

谢谢你的代码贡献。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment