class Call (View source)

Contains information necessary to manage a network request.

Constants

UNARY_CALL

BIDI_STREAMING_CALL

CLIENT_STREAMING_CALL

SERVER_STREAMING_CALL

LONGRUNNING_CALL

PAGINATED_CALL

Methods

__construct(string $method, string $decodeType = null, mixed|Message $message = null, array|null $descriptor = [], int $callType = Call::UNARY_CALL)

No description

string
getMethod()

No description

int
getCallType()

No description

string
getDecodeType()

No description

mixed|Message
getMessage()

No description

array|null
getDescriptor()

No description

withMessage(mixed|Message $message)

No description

Details

__construct(string $method, string $decodeType = null, mixed|Message $message = null, array|null $descriptor = [], int $callType = Call::UNARY_CALL)

No description

Parameters

string $method
string $decodeType
mixed|Message $message
array|null $descriptor
int $callType

string getMethod()

No description

Return Value

string

int getCallType()

No description

Return Value

int

string getDecodeType()

No description

Return Value

string

mixed|Message getMessage()

No description

Return Value

mixed|Message

array|null getDescriptor()

No description

Return Value

array|null

Call withMessage(mixed|Message $message)

No description

Parameters

mixed|Message $message

Return Value

Call