Comment

Comment by palkan

Yeah, kind of. Client-server commands sent over WebSockets are translated into JS function calls (using HTTP as a transport); the functions could be used to send some data back, set up a subscription, or whatever. Similarly, you can broadcast messages to connected clients via HTTP.
parent palkan 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton