oligofren
oligofren

Reputation: 23013

Viewing Server-Sent Events in Firefox

SSE is a simple and straight-forward alternative to WebSockets when you need a one-way channel for events coming from the server.

In Chrome Dev Tools' Network tab, you can click the resource (url) where the SSE originates from and view the stream in a tab of its own. I cannot seem to find this functionality in Firefox.

Is there a simple way of viewing server-sent events in Firefox, that doesn't require me to change the source code (inserting logging statements)?

Upvotes: 5

Views: 4369

Answers (2)

Epoc
Epoc

Reputation: 7506

Firefox 82 and onwards should be able to show SSE messages in the Network > Response tab of the file which is sending those events.

Upvotes: 3

Sebastian Zartner
Sebastian Zartner

Reputation: 20125

Firefox (as of version 67) does not support this feature yet. Though there is an enhancement request for this filed at https://bugzil.la/1405706.

Upvotes: 4

Related Questions