ServerStream is the response object from a server streaming API call.
- template
CloneableInstantiable
| Methods |
| public __construct( $serverStreamingCall, array $streamingDescriptor = [], ?Psr\Log\LoggerInterface $logger = NULL) ServerStream constructor.
|
| public getServerStreamingCall() Return the underlying call object.
|
| public readAll() A generator which yields results from the server until the streaming call completes. Throws an ApiException if the streaming call failed.
|
| Properties |
| private $call = NULL |
| private ?Psr\Log\LoggerInterface $logger |
| private $resourcesGetMethod = NULL |
| Methods |
private getJwtToken(array $headers) : ?array
|
private logRequest(Google
|
private logResponse(Google
|
private truncatePayload(?string $payload) : ?string
|