Reference documentation and code samples for the Google API Core Client class RestServerStreamingCall.
Class RestServerStreamingCall implements \Google\ApiCore\ServerStreamingCallInterface.
Namespace
Google \ ApiCore \ Transport \ RestMethods
__construct
Parameters | |
---|---|
Name | Description |
httpHandler |
callable
|
decodeType |
string
|
decoderOptions |
array
|
start
Start the call.
Parameters | |
---|---|
Name | Description |
request |
mixed
|
headers |
array
|
callOptions |
array
|
responses
getStatus
Return the status of the server stream. If the call has not been started this will be null.
Returns | |
---|---|
Type | Description |
stdClass |
The status, with integer $code, string $details, and array $metadata members |
getMetadata
getTrailingMetadata
The Rest transport does not support trailing metadata. This is a passthrough to getMetadata().
getPeer
cancel
Cancels the call.
setCallCredentials
For the REST transport this is a no-op.
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
call_credentials |
mixed
|