ConnectMe class Null safety

Constructors

ConnectMe()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

client(dynamic address, {Map<String, dynamic> headers = const <String, dynamic>{}, int port = 0, bool autoReconnect = true, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect()?, dynamic onDisconnect()?}) ConnectMeClient
connect(dynamic address, {Map<String, dynamic> headers = const <String, dynamic>{}, int port = 0, bool autoReconnect = true, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect()?, dynamic onDisconnect()?}) Future<ConnectMeClient>
serve<C extends ConnectMeClient>(InternetAddress address, {int port = 0, C clientFactory(ConnectMeSocket)?, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect(C)?, dynamic onDisconnect(C)?, ConnectMeType type = ConnectMeType.ws}) Future<ConnectMeServer<C>>
server<C extends ConnectMeClient>(InternetAddress address, {int port = 0, C clientFactory(ConnectMeSocket)?, int queryTimeout = 30, dynamic onLog(String)?, dynamic onError(String, [StackTrace])?, dynamic onConnect(C)?, dynamic onDisconnect(C)?, ConnectMeType type = ConnectMeType.ws}) ConnectMeServer<C>