public GrpcClient() { AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true); channel = GrpcChannel.ForAddress("http://localhost:6000"); client = new MeteoriteLandingsService.MeteoriteLandingsServiceClient(channel); }
public GrpcIoClient() { channel = new Channel("localhost:6000", ChannelCredentials.Insecure); client = new MeteoriteLandingsService.MeteoriteLandingsServiceClient(channel); }