aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/tests/generated_code/math_client.php
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-03-16 07:50:18 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-03-16 07:50:18 -0700
commit121e7a964538cee570764a88503e2eb569f5152b (patch)
tree4ff64c3d7dd4a200073d97bf2017db46c870cfed /src/php/tests/generated_code/math_client.php
parentc94359d8056cbe86a1b8f33915d0b54761cdd02a (diff)
parent66e3b02d8a970f978c7907903f04094f802c7b44 (diff)
Merge github.com:grpc/grpc into filter-selection
Diffstat (limited to 'src/php/tests/generated_code/math_client.php')
-rw-r--r--src/php/tests/generated_code/math_client.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/php/tests/generated_code/math_client.php b/src/php/tests/generated_code/math_client.php
index 76ccabc068..2085560d19 100644
--- a/src/php/tests/generated_code/math_client.php
+++ b/src/php/tests/generated_code/math_client.php
@@ -1,7 +1,7 @@
<?php
/*
*
- * Copyright 2015, Google Inc.
+ * Copyright 2015-2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,9 @@ function p($line)
$host = 'localhost:50051';
p("Connecting to host: $host");
-$client = new math\MathClient($host, []);
+$client = new math\MathClient($host, [
+ 'credentials' => Grpc\ChannelCredentials::createInsecure()
+]);
p('Client class: '.get_class($client));
p('');