WebSocketSinkCompleter class

A WebSocketSink where the destination is provided later.

This is like a StreamSinkCompleter, except that it properly forwards parameters to WebSocketSink.close.

Constructors

WebSocketSinkCompleter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sink WebSocketSink
The sink for this completer.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDestinationSink(WebSocketSink destinationSink) → void
Sets a sink as the destination for events from the WebSocketSinkCompleter's sink.
toString() String
A string representation of this object.
inherited

Operators

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