class ForwardingServerStreamingCall extends ForwardingCall (View source)

Class ForwardingServerStreamingCall wraps a \Grpc\ServerStreamingCall.

Properties

protected ServerStreamingCall $innerCall

Methods

__construct(AbstractCall|ForwardingCall $innerCall)

ForwardingCall constructor.

mixed
getMetadata()

No description

mixed
getTrailingMetadata()

No description

string
getPeer()

No description

cancel()

Cancels the call.

mixed
responses()

No description

getStatus()

Wait for the server to send the status, and return it.

Details

__construct(AbstractCall|ForwardingCall $innerCall)

ForwardingCall constructor.

Parameters

AbstractCall|ForwardingCall $innerCall

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

cancel()

Cancels the call.

mixed responses()

No description

Return Value

mixed

An iterator of response values

stdClass getStatus()

Wait for the server to send the status, and return it.

Return Value

stdClass

The status object, with integer $code, string $details, and array $metadata members