Request filters for server events calls

I would like to intercept the requets made from the typescript JsonServiceClient to my SS selfhosted backend

I’m using the GlobalRequestFilter but my code is called only for http://localhost:8090/json/reply/UpdateEventSubscriber and http://localhost:8090/event-unregister

Is it possible the GlobalRequestFilter also catches the http://localhost:8090/event-heartbeat and http://localhost:8090/event-stream?

I’m using SS 5.9.2.

No the GlobalRequestFilter only intercepts API Requests. You would need to use a PreRequestFilters or RawHttpHandlers to intercept custom HTTP Handler requests.

The /event-stream connection can also be intercepted by ServerEventsFeature.OnInit handler on the ServerEventsFeature plugin and the heartbeat can be intercepted by the OnHeartbeatInit handler.