Class ServerSentEvent$
java.lang.Object
org.apache.pekko.http.scaladsl.model.sse.ServerSentEvent$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServerSentEvent$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
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)
-