Class ServerSentEvent$
java.lang.Object
org.apache.pekko.http.scaladsl.model.sse.ServerSentEvent$
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ServerSentEvent$Static reference to the singleton instance of this Scala object.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCreates aServerSentEvent.Creates aServerSentEvent.Creates aServerSentEvent.
- 
Field Details- 
MODULE$Static reference to the singleton instance of this Scala object.
 
- 
- 
Constructor Details- 
ServerSentEvent$public ServerSentEvent$()
 
- 
- 
Method Details- 
heartbeat
- 
applyCreates aServerSentEvent.- Parameters:
- data- data, may span multiple lines
- type- type, must not contain \n or \r
- Returns:
- (undocumented)
 
- 
applyCreates aServerSentEvent.- Parameters:
- data- data, may span multiple lines
- type- type, must not contain \n or \r
- id- id, must not contain \n or \r
- Returns:
- (undocumented)
 
- 
applyCreates aServerSentEvent.- Parameters:
- data- data, may span multiple lines
- retry- reconnection delay in milliseconds
- Returns:
- (undocumented)
 
 
-