Backend trigger frontend

I add an Http interface to the extension backend. How can I trigger the frontend to perform something whe the extension backend receives a http request