Package akka.http.scaladsl.model.sse
Class ServerSentEvent$
java.lang.Object
akka.http.scaladsl.model.sse.ServerSentEvent$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ServerSentEvent$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier 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
-
apply
Creates aServerSentEvent
.- Parameters:
data
- data, may span multiple linestype
- type, must not contain \n or \r- Returns:
- (undocumented)
-
apply
Creates aServerSentEvent
.- Parameters:
data
- data, may span multiple linestype
- type, must not contain \n or \rid
- id, must not contain \n or \r- Returns:
- (undocumented)
-
apply
Creates aServerSentEvent
.- Parameters:
data
- data, may span multiple linesretry
- reconnection delay in milliseconds- Returns:
- (undocumented)
-