ClientStream is the response object from a gRPC client streaming API call.
CloneableInstantiable
| Methods |
| public __construct(Grpc\ClientStreamingCall $clientStreamingCall, array $streamingDescriptor = [], ?Psr\Log\LoggerInterface $logger = NULL) ClientStream constructor.
|
| public getClientStreamingCall() Return the underlying gRPC call object
|
| public readResponse() Read the response from the server, completing the streaming call.
|
| public write( $request) Write request to the server.
|
| public writeAllAndReadResponse(array $requests) Write all data in $dataArray and read the response from the server, completing the streaming call.
|
| Properties |
| private $call = NULL |
| private ?Psr\Log\LoggerInterface $logger |
| Methods |
private getJwtToken(array $headers) : ?array
|
private logRequest(Google
|
private logResponse(Google
|
private truncatePayload(?string $payload) : ?string
|