Fork me on GitHub
#pedestal
<
2020-08-21
>
jdkealy16:08:14

How would you conditionally start (start-event-stream my-handler) I would like to inspect the request to make sure that the user is authenticated. If I made a pedestal interceptor that checks for the user and calls (start-event-stream my-handler) inside the interceptor i get, EventSource’s response has a MIME type (“Text/Plain”) that is not “text/event-stream”