public interface SseEvent
| Modifier and Type | Method and Description |
|---|---|
SseEvent |
comment(String comment)
Add an SSE "comment" line.
|
SseEvent |
data(String object)
Add an SSE "data" line.
|
SseEvent |
id(String id)
Add an SSE "id" line.
|
SseEvent |
name(String eventName)
Add an SSE "event" line.
|
SseEvent |
reconnectTime(long reconnectTimeMillis)
Add an SSE "retry" line.
|
SseEvent name(String eventName)
eventName - SSE "event" lineSseEvent reconnectTime(long reconnectTimeMillis)
reconnectTimeMillis - SSE "retry" lineSseEvent comment(String comment)
comment - SSE "comment" lineCopyright © 2024 flmelody. All rights reserved.