WebTransportWorker class final
Spawns and owns a worker isolate running the native implementation.
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
-
connect(
String url, [WebTransportOptions? options]) → Future< WebTransport> - Opens a session in the worker isolate.
-
connectInsecure(
String url, [WebTransportOptions? options]) → Future< WebTransport> - Opens a session in the worker isolate without certificate validation.
-
dispose(
) → Future< void> - Stops the worker isolate and every session it owns.
-
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