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: message data: {"id":"0","content":"He "}
The text was updated successfully, but these errors were encountered:
默认情况 XStream 会按 SSE 对数据解析,你截图的这个数据不是规范的 SSE 数据~
符合预期的 SSE 数据为:
event: message data: {"id":"0","content":"He"}
所以这里抛错也是符合预期的。
Sorry, something went wrong.
似乎和这个 issue 类似:
#447
默认情况 XStream 会按 SSE 对数据解析,你截图的这个数据不是规范的 SSE 数据~ 符合预期的 SSE 数据为: event: message data: {"id":"0","content":"He"} 所以这里抛错也是符合预期的。
但是,这个框架在输出内容的时候如何实现换行输出呢?没找到对应的例子,求教
似乎和这个 issue 类似: #447
你好,官网的这种不同背景底色和换行是怎么实现的啊
默认情况 XStream 会按 SSE 对数据解析,你截图的这个数据不是规范的 SSE 数据~ 符合预期的 SSE 数据为: event: message data: {"id":"0","content":"He"} 所以这里抛错也是符合预期的。 但是,这个框架在输出内容的时候如何实现换行输出呢?没找到对应的例子,求教
默认情况 XStream 会按 SSE 对数据解析,你截图的这个数据不是规范的 SSE 数据~ 符合预期的 SSE 数据为:
可以将 content 使用 markdown 渲染实现换行输出~
https://x.ant.design/components/bubble-cn#bubble-demo-markdown
No branches or pull requests
例如下面这个数据,就无法进行处理。
event: message
data: {"id":"0","content":"He
"}
The text was updated successfully, but these errors were encountered: