commit | db98e085704308bf03b2c68a9183336a3b37b422 | [log] [tgz] |
---|---|---|
author | Stanley Cheung <stanleycheung@google.com> | Mon Jul 27 10:19:45 2015 -0700 |
committer | Stanley Cheung <stanleycheung@google.com> | Mon Jul 27 10:22:33 2015 -0700 |
tree | 503c9a16ac2ccc9d1a2d17f4eb3d0eb8b5c839f4 | |
parent | 1f21f336ebe032e7dff185d551a3f48c8dcd4b5b [diff] [blame] |
Exposed channel target and call peer in PHP
diff --git a/src/php/lib/Grpc/AbstractCall.php b/src/php/lib/Grpc/AbstractCall.php index 5b28417..3505722 100644 --- a/src/php/lib/Grpc/AbstractCall.php +++ b/src/php/lib/Grpc/AbstractCall.php
@@ -68,6 +68,13 @@ } /** + * @return string The URI of the endpoint. + */ + public function getPeer() { + return $this->call->getPeer(); + } + + /** * Cancels the call */ public function cancel() {