code: def decode_response(client_message, to_object=None):
      
      parameters = dict(response=None)
      parameters['response'] = client_message.read_int()
      return parameters
docs: Decode response from client message