Skip to content

Conversation

@jrauh01
Copy link
Contributor

@jrauh01 jrauh01 commented Oct 10, 2025

Add a RequestHook that hooks into different states of a request. The implementation starts with hooking into after non xhr requests are dispatched. This is meant to be extended for more more states like for example before a request gets dispatched.

@jrauh01 jrauh01 self-assigned this Oct 10, 2025
@cla-bot cla-bot bot added the cla/signed label Oct 10, 2025
@jrauh01 jrauh01 requested a review from lippserd October 10, 2025 07:30
Copy link
Member

@Al2Klimov Al2Klimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lippserd, what do you think about the following?

@jrauh01 jrauh01 marked this pull request as draft November 6, 2025 10:48
@jrauh01 jrauh01 marked this pull request as ready for review November 6, 2025 11:45
Add a hook that hooks into different states of a request. The
implementation starts with hooking into after non xhr requests
are dispatched. This is meant to be extended for more more states
like before a request gets dispatched.
Add a function to the Icinga Web Request that checks whether the
request is sent by auto refresh by checking if the request header
`X-Icinga-Autorefresh` is set.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants