GrpcOrGrpcWebClientChannel.toSingleEndpoint constructor

GrpcOrGrpcWebClientChannel.toSingleEndpoint({
  1. required String host,
  2. required int port,
  3. required bool transportSecure,
})

Implementation

GrpcOrGrpcWebClientChannel.toSingleEndpoint({
  required String host,
  required int port,
  required bool transportSecure,
}) : super(
        grpcHost: host,
        grpcPort: port,
        grpcTransportSecure: transportSecure,
        grpcWebHost: host,
        grpcWebPort: port,
        grpcWebTransportSecure: transportSecure,
      );