I want to notify the clients connected to the websocket when someone requests the route handled by Controller1. I am currently using Mojo::IOLoop->instance->reactor to register an event handler from ControllerWS and to emit the same event from Controller1 when the route is triggered. It works, but I'm not sure if this is the best solution. Any advice?

I receive a request and I can get the $req object. Is it possible to reuse it to send another request via Mojo::UserAgent? I’m planning only on adding some things to the body, so I’d like to preserve the rest (method and headers)