diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-06-16 10:05:13 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-06-16 10:05:13 -0700 |
commit | 812c66ba1bd811efb10457cb0e8b4d1f22329167 (patch) | |
tree | 58a4ba688707ebcef03fecbaae1b896782a9000d /src/php/lib/Grpc/ClientStreamingCall.php | |
parent | cf4205dff54d8e3920f98dac28049770b5f8f044 (diff) | |
parent | fa9b7c1bc6488be17d18007f45c57dac39ea5b79 (diff) |
Merge branch 'master' into epoll_changes
Diffstat (limited to 'src/php/lib/Grpc/ClientStreamingCall.php')
-rw-r--r-- | src/php/lib/Grpc/ClientStreamingCall.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/php/lib/Grpc/ClientStreamingCall.php b/src/php/lib/Grpc/ClientStreamingCall.php index 500cfe0d7a..315a406735 100644 --- a/src/php/lib/Grpc/ClientStreamingCall.php +++ b/src/php/lib/Grpc/ClientStreamingCall.php @@ -86,6 +86,8 @@ class ClientStreamingCall extends AbstractCall ]); $this->metadata = $event->metadata; - return [$this->deserializeResponse($event->message), $event->status]; + $status = $event->status; + $this->trailing_metadata = $status->metadata; + return [$this->deserializeResponse($event->message), $status]; } } |