class ForwardingServerStreamingCall extends ForwardingCall (View source)

Class ForwardingServerStreamingCall wraps a \Grpc\ServerStreamingCall.

Properties

protected AbstractCall $innerCall from  ForwardingCall

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()

Return Value

mixed The metadata sent by the server

mixed getTrailingMetadata()

Return Value

mixed The trailing metadata sent by the server

string getPeer()

Return Value

string The URI of the endpoint

cancel()

Cancels the call.

mixed responses()

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