The MockBidiStreamingCall class is used to mock out the \Grpc\BidiStreamingCall class (https://github.com/grpc/grpc/blob/master/src/php/lib/Grpc/BidiStreamingCall.php)
- internal
CloneableInstantiable
| Methods |
| public __construct(array $responses, $deserialize = NULL, ?stdClass $status = NULL) MockBidiStreamingCall constructor.
|
public getStatus()
|
| public popReceivedCalls() Return a list of calls made to write(), and clear $receivedFuncCalls.
|
public read()
|
| public write( $request, array $options = []) Save the request object, to be retrieved via getReceivedCalls()
|
| public writesDone() Set writesDone to true |
| Properties |
| Methods |
protected deserializeMessage( $message, $deserialize)
|
| Properties |
| private $receivedWrites = [] |
| private $responses = NULL |
| private $status = NULL |
| private $writesDone = false |