Receive stream of messages in Swoole server

How the swoole server should be prepared to receive stream of messages of a grpc stream-unary request?