class ForwardingUnaryCall extends ForwardingCall

Class ForwardingUnaryCall wraps a \Grpc\UnaryCall.

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.

array
wait()

Wait for the server to respond with data and a status.

Details

in ForwardingCall at line 52
__construct(AbstractCall|ForwardingCall $innerCall)

ForwardingCall constructor.

Parameters

AbstractCall|ForwardingCall $innerCall

in ForwardingCall at line 60
mixed getMetadata()

Return Value

mixed The metadata sent by the server

in ForwardingCall at line 68
mixed getTrailingMetadata()

Return Value

mixed The trailing metadata sent by the server

in ForwardingCall at line 76
string getPeer()

Return Value

string The URI of the endpoint

in ForwardingCall at line 84
cancel()

Cancels the call.

at line 47
array wait()

Wait for the server to respond with data and a status.

Return Value

array [response data, status]