MockServerStreamingCall
class MockServerStreamingCall extends ServerStreamingCall (View source)
The MockServerStreamingCall class is used to mock out the \Grpc\ServerStreamingCall class (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/ServerStreamingCall.php)
Traits
Methods
__construct(array $responses, callable|null $deserialize = null, MockStatus|stdClass|null $status = null)
MockServerStreamingCall constructor.
responses()
No description
MockStatus|null|stdClass
getStatus()
No description
Details
protected
deserializeMessage($message, $deserialize)
No description
__construct(array $responses, callable|null $deserialize = null, MockStatus|stdClass|null $status = null)
MockServerStreamingCall constructor.
responses()
No description
MockStatus|null|stdClass
getStatus()
No description