UHST class
Provides a way to init Client UhstSocket and UhstHost
For relay server you can use ready to go UHST Node Server
Constructors
- UHST({String? relayUrl, bool? debug, UhstRelayClient? relayClient, RelaySocketProvider? socketProvider})
-
relayUrl
is a relay url String, implementing the uhst protocol.
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
-
host(
{String? hostId}) → UhstHost - Returns UhstHost which able to:
-
join(
{required String hostId}) → UhstSocket - Returns UhstSocket which able to:
-
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