Client should wait to send any data until it has validated the parameters
Currently a request that has invalid parameters (e.g. sending c.set_position(None)
) send the start of a message to the daemon but then fail out when processing the parameters.
This causes the daemon to hang expecting additional input and nonsensical behavior such as setting the position to a value that was never actually asked for.
The client Socket.message
method should validate parameters before initiating communication (i.e. metadata/method name) rather than sending a partial request and failing half way through