Google API Core Client - Class ForwardingCall (1.35.0)

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

Class ForwardingCall wraps a \Grpc\AbstractCall.

Namespace

Google \ ApiCore \ Transport \ Grpc

Methods

__construct

ForwardingCall constructor.

Parameter
Name Description
innerCall Grpc\AbstractCall|Google\ApiCore\Transport\Grpc\ForwardingCall

getMetadata

Returns
Type Description
mixed The metadata sent by the server

getTrailingMetadata

Returns
Type Description
mixed The trailing metadata sent by the server

getPeer

Returns
Type Description
string The URI of the endpoint

cancel

Cancels the call.