public void Ipv4(string host, int port, string endpoint) { var e1 = GrpcEndpoint.Parse(endpoint).Should().BeOfType <GrpcEndpoint.Ipv4>().Subject; e1.Host.Should().Be(host); e1.Port.Should().Be(port); }
public void Socket(string path, string endpoint) { GrpcEndpoint.Parse(endpoint).Should().BeOfType <GrpcEndpoint.Unix>() .Subject.Path.Should().Be(path); }