aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/BidiStreamingCall.php
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2016-09-22 16:15:58 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2016-09-29 17:25:14 -0700
commit881f4ff6721446c02e11b4cf218e7cd14d374e0d (patch)
tree2bcfbf776c81186ca315e654fb1937df339ab3a6 /src/php/lib/Grpc/BidiStreamingCall.php
parent53d219c962fee8f0a755c4c7996ba4bd61f7c6bf (diff)
PHP Proto3: new serialization/deserialization for messages
Diffstat (limited to 'src/php/lib/Grpc/BidiStreamingCall.php')
-rw-r--r--src/php/lib/Grpc/BidiStreamingCall.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/lib/Grpc/BidiStreamingCall.php b/src/php/lib/Grpc/BidiStreamingCall.php
index 5d6ecfb275..f0e1e811de 100644
--- a/src/php/lib/Grpc/BidiStreamingCall.php
+++ b/src/php/lib/Grpc/BidiStreamingCall.php
@@ -81,7 +81,7 @@ class BidiStreamingCall extends AbstractCall
*/
public function write($data, $options = [])
{
- $message_array = ['message' => $data->serialize()];
+ $message_array = ['message' => $this->serializeMessage($data)];
if (array_key_exists('flags', $options)) {
$message_array['flags'] = $options['flags'];
}