BoraPushClient class
Constructors
- BoraPushClient.connect({required Uri uri, bool withCredentials = false, bool closeOnError = true})
-
Connect to an SSE endpoint with the specified URI and options.
factory
- BoraPushClient.create()
-
Create a BoraPushClient with a blank EventSource.
factory
- BoraPushClient.test(dynamic eventSource, dynamic streamController)
-
factory
Properties
- eventSource ↔ EventSource
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stream → Stream
-
Get the SSE stream.
no setter
-
streamController
↔ StreamController<
String> -
latefinal
Methods
-
close(
) → void - Close the SSE connection.
-
isClosed(
) → bool - Check if the stream is closed.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited