Function StackSSE
Remove SSE
Removes a registered SSEController
using its controller ID and channel name.
This ensures the client is unsubscribed from the specified channel, even if the controller exists on another server.
Config
-
Controller Id
The ID of theSSEController
to remove.
If the controller exists on the current server, it will be removed directly.
If it exists on another server, the request will be forwarded until the correct server removes it. -
Channel Name
The name of the channel the controller is associated with. -
Publisher
An instance ofSSEPublisher
, which should be created once globally to manage broadcasting events across multiple clients.
For a detailed usage example, check the Publish SSE
function.