AugnitoWebClient class

Handles communication with Augnito's server using WebSocket from dart:io

Constructors

AugnitoWebClient(String _speechURL, {dynamic onMessage(dynamic)?, dynamic onError(dynamic)?, Future<void> onDisconnected()?, dynamic enableLogs = false})

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() → void
Closes the underlying websocket.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open() Future<bool>
Attempts to open the connection with the server. Returns true if successful and false otherwise.
sendMessage(List<int> data) → void
Sends a message of type List
toString() String
A string representation of this object.
inherited

Operators

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