Synchronously calls method with params on the remote peer.
once a reply has been received, or failure, this function will return. If successful, return_value will be set with the
reslut field of the response.
If params is floating then this function consumes the reference.
| this |
A Client |
| method |
The name of the method to call |
| cancellable |
A Cancellable or null |
| return_value |
A location for a [struct@GLib.Variant] |
| params |
A [struct@GLib.Variant] of parameters or null |
|
true on success; otherwise false and throws is set. |