public ClientProvider() { var options = new List <ChannelOption> { new ChannelOption(ChannelOptions.SslTargetNameOverride, "demo-linux1") }; this.channel = new Channel("localhost:8433", GetSslCredentials(), options); this.wallClient = new WallService.WallServiceClient(channel); }
public ClientProvider() { var options = new List <ChannelOption> { new ChannelOption(ChannelOptions.SslTargetNameOverride, "demo-linux1") }; this.channel = new Channel(GetBackend(), GetSslCredentials(), options); this.wallClient = new WallService.WallServiceClient(channel); this.mediaClient = new MediaService.MediaServiceClient(channel); }