abstract class ForwardingCall (View source)

Class ForwardingCall wraps a \Grpc\AbstractCall.

Properties

protected AbstractCall $innerCall

Methods

__construct(AbstractCall|ForwardingCall $innerCall)

ForwardingCall constructor.

mixed
getMetadata()

No description

mixed
getTrailingMetadata()

No description

string
getPeer()

No description

cancel()

Cancels the call.

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.