Open
Description
i’m wondering if there’s a proper way to wrap an SSE server handler with middleware. i’ve already tried using WithHTTPServer
to inject middleware logic, but it doesn’t seem to have any visible effect on the SSE handler, it looks like the middleware might be getting bypassed or not applied at all in this context.
if there’s a recommended approach or example of how to attach middleware to SSE endpoints specifically, that would be super helpful. just trying to figure out the best way to apply things like caching, auth checks, or other pre-processing layers before the SSE stream begins.
Metadata
Metadata
Assignees
Labels
No labels