diff options
author | 2016-02-24 08:36:27 -0800 | |
---|---|---|
committer | 2016-02-24 08:36:27 -0800 | |
commit | 65c443ba51bf3327d3c93a6795b98c0db03149a5 (patch) | |
tree | 1f39d83cb40be3b56aa74307c410a22dd7dcfb18 /test/distrib/php/distribtest.php | |
parent | 5b0fde1a0a2bfa9c2bd39da7285f541a534e65c1 (diff) | |
parent | 91edc13bf8a83dd024f9ce4e0ad2246202545a38 (diff) |
Merge github.com:grpc/grpc into hide-the-worker
Diffstat (limited to 'test/distrib/php/distribtest.php')
-rw-r--r-- | test/distrib/php/distribtest.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/distrib/php/distribtest.php b/test/distrib/php/distribtest.php new file mode 100644 index 0000000000..318c6f9cf0 --- /dev/null +++ b/test/distrib/php/distribtest.php @@ -0,0 +1,13 @@ +<?php + +$channel = new Grpc\Channel('localhost:1000', [ + 'credentials' => Grpc\ChannelCredentials::createInsecure() +]); + +$deadline = Grpc\Timeval::infFuture(); +$call = new Grpc\Call($channel, + 'dummy_method', + $deadline); + +$call->cancel(); +$channel->close(); |