public _simpleRequest ( string $method, mixed $argument, callable $deserialize, array $metadata = [], $options = [] ) : grpc\SimpleSurfaceActiveCall | ||
$method | string | The name of the method to call |
$argument | mixed | The argument to the method |
$deserialize | callable | A function that deserializes the response |
$metadata | array | A metadata map to send to the server |
return | grpc\SimpleSurfaceActiveCall | The active call object |