RestServerStreamingCall
class RestServerStreamingCall implements ServerStreamingCallInterface (View source)
Class RestServerStreamingCall implements \Google\ApiCore\ServerStreamingCallInterface.
Methods
No description
Start the call.
No description
Return the status of the server stream. If the call has not been started this will be null.
No description
The Rest transport does not support trailing metadata. This is a passthrough to getMetadata().
No description
Cancels the call.
For the REST transport this is a no-op.
Details
__construct(callable $httpHandler, string $decodeType, array $decoderOptions)
No description
void
start($request, array $headers = [], array $callOptions = [])
Start the call.
mixed
responses()
No description
stdClass
getStatus()
Return the status of the server stream. If the call has not been started this will be null.
mixed
getMetadata()
No description
mixed
getTrailingMetadata()
The Rest transport does not support trailing metadata. This is a passthrough to getMetadata().
string
getPeer()
No description
void
cancel()
Cancels the call.
void
setCallCredentials(mixed $call_credentials)
For the REST transport this is a no-op.
{@inheritdoc}