hyperf / hyperf/grpc-client

Cannot use object of type Hyperf\GrpcClient\UnaryCall as array[38]

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

public function sayHello(HiUser $argument)
{
return $this->_simpleRequest(
'/grpc.Hi/SayHello',
$argument,
[HiReply::class, 'decode']
);
}

list($reply, $status) = $client->sayHello($request);

更新一下wiki吧,已经不能这样用了。
看了代码才知道要加wait()。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.