Class RestServerStreamingCall implements \Google\ApiCore\ServerStreamingCallInterface.
- experimental
CloneableInstantiable
| Methods |
public __construct(callable $httpHandler, string $decodeType, array $decoderOptions)
|
| public cancel() |
| public getMetadata() |
| public getPeer() |
| public getStatus() Return the status of the server stream. If the call has not been started this will be null.
|
| public getTrailingMetadata() The Rest transport does not support trailing metadata. This is a passthrough to getMetadata(). |
| public responses() |
| public setCallCredentials( $call_credentials) For the REST transport this is a no-op. |
| public start( $request, array $headers = [], array $callOptions = []) |
| Properties |
| private ?Google |
private array $decoderOptions
|
| private string $decodeType |
private $httpHandler = NULL
|
| private Psr\Http\Message\RequestInterface $originalRequest |
| private ?Psr\Http\Message\ResponseInterface $response |
| private stdClass $status |
| Methods |
private appendHeaders(Psr\Http\Message\RequestInterface $request, array $headers)
|