OpenSwoole\GRPC\Client->send

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

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 February 28, 2026