SSEClient class
- Inheritance
-
- Object
- ISSEClient
- SSEClient
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
{String? connectionId}) → void -
Closes the SSE connection.
override
-
connect(
String connectionId, SSERequest request, {dynamic fromJson(dynamic)?}) → Stream< SSEResponse> -
Establishes a connection with the server.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribeToSSE(
String connectionId, SSERequest request, {dynamic fromJson(dynamic)?}) → Stream< SSEResponse> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited