createUhstSocket abstract method
UhstSocket
createUhstSocket({
- required bool debug,
- required UhstRelayClient relayClient,
- ClientSocketParams? clientParams,
- HostSocketParams? hostParams,
If clientParams
where provided then it will return Client Socket
If hostParams
where provided then it will return Host Socket
Only one - clientParams
or hostParams
can be provided in same time
Implementation
UhstSocket createUhstSocket({
required bool debug,
required UhstRelayClient relayClient,
ClientSocketParams? clientParams,
HostSocketParams? hostParams,
});