Post #1496863
2026-03-02 11:47 UTC
Replies (2)
-
@pid_eins@mastodon.social 2026-03-02 16:21
@arianvp so the bridge supports both the ws and the non-ws mode iirc. @michaelvogt please comment. (the other reason why ws is sometimes nice, is that varlink knows a concept of upgrading protocol, i.e. just being something to set up a connection and then switching to something else)
-
@michaelvogt@mastodon.social 2026-03-02 16:50
@arianvp @pid_eins Thanks Arian for the gist! The main reason for the websocket stuff is/was the protocol switching that Lennarts mentioned. But of course your right that just for the --more we won't need it and can use http streaming or SSE. I expect that we will add either http stream or sse (or both) pretty soon to make it easier for traditional curl usage to call e.g. io.systemd.JournalAccess.GetEntries. But I also want to make sure we DTRT so this kind of feedback is much appreciated!