SseSocketConnection class

An implementation of SocketConnection that users server-sent events (SSE) and HTTP POSTS for bidirectional communication by wrapping an SseConnection.

Inheritance

Constructors

SseSocketConnection(SseConnection _connection)

Properties

hashCode int
The hash code for this object.
no setterinherited
isInKeepAlivePeriod bool
Whether this connection is currently in the KeepAlive timeout period.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sink StreamSink
Messages added to the sink must be JSON encodable.
no setteroverride
stream Stream<String>
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shutdown() → void
Immediately close the connection, ignoring any keepAlive period.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited