aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/UnaryCall.php
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-06-15 22:57:21 -0700
committerGravatar Vijay Pai <vpai@google.com>2016-06-15 22:57:21 -0700
commitb9e927afcc689edaa5c02613a69fd9ceb944ec5b (patch)
tree338945681c588bbce751c82575ceb9b8f9466d59 /src/php/lib/Grpc/UnaryCall.php
parent20bf126da605e3c765ddc494ce92de3a7ff32795 (diff)
parentfa9b7c1bc6488be17d18007f45c57dac39ea5b79 (diff)
Merge branch 'master' into wheezy
Diffstat (limited to 'src/php/lib/Grpc/UnaryCall.php')
-rw-r--r--src/php/lib/Grpc/UnaryCall.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/php/lib/Grpc/UnaryCall.php b/src/php/lib/Grpc/UnaryCall.php
index b57903d6d0..b114b771b8 100644
--- a/src/php/lib/Grpc/UnaryCall.php
+++ b/src/php/lib/Grpc/UnaryCall.php
@@ -75,6 +75,8 @@ class UnaryCall extends AbstractCall
OP_RECV_STATUS_ON_CLIENT => true,
]);
- return [$this->deserializeResponse($event->message), $event->status];
+ $status = $event->status;
+ $this->trailing_metadata = $status->metadata;
+ return [$this->deserializeResponse($event->message), $status];
}
}