-
**[Bernd Kolb](https://jira.spring.io/secure/ViewProfile.jspa?name=bkolb)** opened **[SPR-17248](https://jira.spring.io/browse/SPR-17248?redirect=false)** and commented
**Summary**
As I user I want …
-
当我让它使用英文回复时,前端拿到的eventSource中每个data不含空格和换行符吗?如果拼接在一起的话就变成一大串连续的英文字母了。我看示例中的中文格式显示挺正常的,这个需要怎么处理一下吗?
-
**Affects:** 5.x/6.x
I'm working with Spring MVC, especially with Server-Sent Events (SSE). Now, it is always flushing data every time SSE event is sent. This is good for fast updates, but it can h…
-
**Describe the bug**
SpringCloud Gateway 2.1.1
**Sample**
In the springboot project,I created a SSE Emitter like this:
```java
@GetMapping(value = "/init", produces = "text/event-stream")
…
-
在Controller中写下了如下代码:
@GetMapping("/chat/sse")
@CrossOrigin
public SseEmitter sseEmitter(@RequestParam String prompt) {
//国内需要代理 国外不需要
Proxy proxy = Proxys.http("127.0.0.1"…
-
**Affects:** Framework 6.0.8 (Boot 3.0.6)
I'm trying to do two things:
1. Use `SseEmitter` in a `@Controller`
2. Configure Tomcat access logs with Logback: `LogbackValve` from [`logback-access`](…
-
我用sseEmitter.send(SseEmitter.event().id(sid + "").name("连接成功!!!!").data(LocalDateTime.now()).reconnectTime(3000));
其中sid是自定义请求id
返回信息的时候onEvent(EventSource eventSource, String id, String type, Strin…
-
![image](https://user-images.githubusercontent.com/2252451/230885461-331b99cb-e5c7-4b81-8632-6f263bc32491.png)
我用的这段代码。
`
@GetMapping("/chat/sse")
@CrossOrigin
public SseEmitt…
-
之前一直可以的,但貌似azure返回的[Done]消息去掉了一个/n换行符,现在onEvent直接收不到这条消息;postman调用同样收不到。但命令行curl调用是可以收到的
2023.05.16更新:我这边在调用azure openai的接口才收不到,openai的接口是能收到的~
-