Public Member Functions | |
start ($arg, $metadata=array()) | |
wait () | |
Public Member Functions inherited from Grpc\AbstractCall | |
__construct (Channel $channel, $method, $deserialize) | |
getMetadata () | |
cancel () | |
Additional Inherited Members | |
Protected Member Functions inherited from Grpc\AbstractCall | |
deserializeResponse ($value) | |
Protected Attributes inherited from Grpc\AbstractCall | |
$call | |
$deserialize | |
$metadata | |
Represents an active call that sends a single message and then gets a single response.
Grpc\UnaryCall::start | ( | $arg, | |
$metadata = array() |
|||
) |
Start the call
$arg | The argument to send | |
array | $metadata | Metadata to send with the call, if applicable |
Grpc\UnaryCall::wait | ( | ) |
Wait for the server to respond with data and a status