interface ServerStreamingCallInterface (View source)

internal  
 

Methods

void
start(mixed $data, array $metadata = [], array $options = [])

Start the call.

mixed
responses()

No description

getStatus()

Return the status of the server stream.

mixed
getMetadata()

No description

mixed
getTrailingMetadata()

No description

string
getPeer()

No description

void
cancel()

Cancels the call.

void
setCallCredentials(mixed $call_credentials)

Set the CallCredentials for the underlying Call.

Details

void start(mixed $data, array $metadata = [], array $options = [])

Start the call.

Parameters

mixed $data

The data to send

array $metadata

Metadata to send with the call, if applicable (optional)

array $options

An array of options, possible keys: 'flags' => a number (optional)

Return Value

void

mixed responses()

No description

Return Value

mixed

An iterator of response values.

stdClass getStatus()

Return the status of the server stream.

Return Value

stdClass

The API status.

mixed getMetadata()

No description

Return Value

mixed

The metadata sent by the server.

mixed getTrailingMetadata()

No description

Return Value

mixed

The trailing metadata sent by the server.

string getPeer()

No description

Return Value

string

The URI of the endpoint.

void cancel()

Cancels the call.

Return Value

void

void setCallCredentials(mixed $call_credentials)

Set the CallCredentials for the underlying Call.

Parameters

mixed $call_credentials

The CallCredentials object

Return Value

void