createUhstSocket method
UhstSocket
createUhstSocket({
- required UhstRelayClient relayClient,
- required bool debug,
- ClientSocketParams? clientParams,
- HostSocketParams? hostParams,
override
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
@override
UhstSocket createUhstSocket({
required UhstRelayClient relayClient,
required bool debug,
ClientSocketParams? clientParams,
HostSocketParams? hostParams,
}) =>
RelaySocket.create(
relayClient: relayClient,
clientParams: clientParams,
hostParams: hostParams,
debug: debug,
);