SPR-13080 SseEventBuilder needs event rather than name
This commit is contained in:
committed by
Rossen Stoyanchev
parent
3e74476c11
commit
ec4783400c
@@ -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