UhstHostSocket class abstract
- Implementers
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
-
broadcastArrayBuffer(
{required ByteBuffer arrayBuffer}) → void - same as sendByteBufer as ByteBufer == ArrayBuffer
-
broadcastArrayBufferView(
{required TypedData arrayBufferView}) → void - same as sendTypedData as TypedData == ArrayBufferView
-
broadcastBlob(
{required Blob blob}) → void -
broadcastByteBufer(
{required ByteBuffer byteBuffer}) → void - ByteBufer == ArrayBuffer see https://github.com/dart-lang/sdk/issues/12688
-
broadcastString(
{required String message}) → void -
broadcastTypedData(
{required TypedData typedData}) → void - TypedData == ArrayBufferView
-
disconnect(
) → void - This method is using to close EventSource. Before close will be fired onClose onceClose will be called, if any provided
-
dispose(
) → void - This method should be called during dispose method in Flutter widget or any another cases that require to cancel all subscriptions and all methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offClose(
{required CloseHandler handler}) → void -
offConnection(
{required HostConnectionHandler handler}) → void -
offDiagnostic(
{required DiagnosticHandler handler}) → void -
offException(
{required ExceptionHandler handler}) → void -
offReady(
{required HostReadyHandler handler}) → void -
onceClose(
{required CloseHandler handler}) → void -
onceConnection(
{required HostConnectionHandler handler}) → void -
onceDiagnostic(
{required DiagnosticHandler handler}) → void -
onceException(
{required ExceptionHandler handler}) → void -
onceReady(
{required HostReadyHandler handler}) → void -
onClose(
{required CloseHandler handler}) → StreamSubscription< Map< HostEventType, dynamic> > -
onConnection(
{required HostConnectionHandler handler}) → StreamSubscription< Map< HostEventType, dynamic> > -
onDiagnostic(
{required DiagnosticHandler handler}) → StreamSubscription< Map< HostEventType, dynamic> > -
onException(
{required ExceptionHandler handler}) → StreamSubscription< Map< HostEventType, dynamic> > -
onReady(
{required HostReadyHandler handler}) → StreamSubscription< Map< HostEventType, dynamic> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited