This listener could be done directly inside the client.get or client.request function call as a 2nd argument