'Called when a method has been executed successfully.
This hook is called right before the answer is sent back to the client.
If the method streams its answer (i.e: it uses the zerorpc.stream
decorator) then this hook will be called once the reply has been fully
streamed (and right before the stream is "closed").
The reply_event argument will be None if the Push/Pull pattern is used.'

def hook_server_after_exec(self, request_event, reply_event):

    for functor in self._hooks['server_after_exec']:
        functor(request_event, reply_event)
