OpenSwoole\GRPC\Client->send

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

Declaration

<?php OpenSwoole\GRPC\Client->send()

Parameters

method

Method name that you want to call.

message

Messages that you want to send.

type

How to serialize the message, it can be json|proto.

Return

Description

Send message to remote endpoint, either end the stream or not depending on $mode of the client.

Last updated on September 21, 2022