class Call (View source)

Contains information necessary to manage a network request.

Constants

UNARY_CALL

BIDI_STREAMING_CALL

CLIENT_STREAMING_CALL

SERVER_STREAMING_CALL

Methods

__construct(string $method, string $decodeType, mixed|Message $message = null, array $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

Call
withMessage(mixed|Message $message)

No description

Details

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

Parameters

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

string getMethod()

Return Value

string

int getCallType()

Return Value

int

string getDecodeType()

Return Value

string

mixed|Message getMessage()

Return Value

mixed|Message

array|null getDescriptor()

Return Value

array|null

Call withMessage(mixed|Message $message)

Parameters

mixed|Message $message

Return Value

Call