We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
需求是发起请求后服务器端每运算一段时间后会的得到一个数据,然后持续发送给前端,直到运算完成。想的是使用event-stream类型响应每次得到数据就传给前端,但是好像return body后通过stream输入body的数据也不会再传到前端了
The text was updated successfully, but these errors were encountered:
目前暂时不支持event-stream,可以试试websocket,不过AndServer也支持websocekt,需要使用其他框架。
Sorry, something went wrong.
No branches or pull requests
需求是发起请求后服务器端每运算一段时间后会的得到一个数据,然后持续发送给前端,直到运算完成。想的是使用event-stream类型响应每次得到数据就传给前端,但是好像return body后通过stream输入body的数据也不会再传到前端了
The text was updated successfully, but these errors were encountered: