client static method

dynamic client(
  1. String address,
  2. int port
)

Implementation

static MercuryClient client(String address, int port) {
  var uri = Uri.parse("https://$address:$port");
  return MercuryClient(GrpcWebClientChannel.xhr(uri));
}