diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-07-24 14:49:30 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-07-24 15:35:24 -0700 |
commit | a96ac058f47bb155af0e835a679d9b47a57271f9 (patch) | |
tree | 00d4c3105e95e285936b5cb8cff29828db5deeda /src/csharp/Grpc.Examples.MathClient | |
parent | 072e7ad1f31bafe2359eb19243196ec051a22bf0 (diff) |
make insecure channel and server explicit
Diffstat (limited to 'src/csharp/Grpc.Examples.MathClient')
-rw-r--r-- | src/csharp/Grpc.Examples.MathClient/MathClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Examples.MathClient/MathClient.cs b/src/csharp/Grpc.Examples.MathClient/MathClient.cs index cfe2a06916..f9839d99f1 100644 --- a/src/csharp/Grpc.Examples.MathClient/MathClient.cs +++ b/src/csharp/Grpc.Examples.MathClient/MathClient.cs @@ -39,7 +39,7 @@ namespace math { public static void Main(string[] args) { - using (Channel channel = new Channel("127.0.0.1", 23456)) + using (Channel channel = new Channel("127.0.0.1", 23456, Credentials.Insecure)) { Math.IMathClient client = new Math.MathClient(channel); MathExamples.DivExample(client); |