Google API Core Client - Class ServerStreamingCallWrapper (1.36.0)

Reference documentation and code samples for the Google API Core Client class ServerStreamingCallWrapper.

Class ServerStreamingCallWrapper implements \Google\ApiCore\ServerStreamingCallInterface.

This is essentially a wrapper class around the \Grpc\ServerStreamingCall.

Namespace

Google \ ApiCore \ Transport \ Grpc

Methods

__construct

Parameter
Name Description
stream Grpc\ServerStreamingCall|Grpc\Gcp\GCPServerStreamCall

start

Start the call.

Parameters
Name Description
data mixed
metadata array
callOptions array

responses

getStatus

Return the status of the server stream.

getMetadata

getTrailingMetadata

getPeer

cancel

Cancels the call.

setCallCredentials

Set the CallCredentials for the underlying Call.

Parameter
Name Description
call_credentials mixed