code: def respond(self, result):
          
          if self.one_way or self.unique_id is None:
              return None
  
          response = JSONRPCSuccessResponse()
  
          response.result = result
          response.unique_id = self.unique_id
  
          return response
docs: Create a response to this request.
  
          When processing the request completed successfully this method can be used to
          create a response object.
  
          :param result: The result of the invoked method.
          :type result: Anything that can be encoded by JSON.
          :returns: A response object that can be serialized and sent to the client.
          :rtype: :py:class:`JSONRPCSuccessResponse`