createUhstSocket abstract method

UhstSocket createUhstSocket({
  1. required bool debug,
  2. required UhstRelayClient relayClient,
  3. ClientSocketParams? clientParams,
  4. 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,
});