mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-27 09:30:30 +00:00
SPR-13080 SseEventBuilder needs event rather than name
This commit is contained in:
committed by
Rossen Stoyanchev
parent
3e74476c11
commit
ec4783400c
+1
-1
@@ -171,7 +171,7 @@ public class SseEmitter extends ResponseBodyEmitter {
|
||||
|
||||
@Override
|
||||
public SseEventBuilder name(String name) {
|
||||
append("name:").append(name != null ? name : "").append("\n");
|
||||
append("event:").append(name != null ? name : "").append("\n");
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user