Starting...
Events in a Web App
Demo app for
posts series
about SSE based events in web apps. Sources for this app are in
flancer32/dev-web-event
.
There are following events (see 'Network' tab in 'DevTools'):
Dev_Shared_Event_Msg_Back_
: messages are sent by back when a front is authenticated on the back;
Back_OneWay_Front
: one-way message for all sessions of a front;
Back_OneWay_Session
: one-way message for concrete session (tab);
Back_Call_Request
: call request (question) for concrete session (the back sends 20 calls with period 3 sec.);
Back_Call_Response
: response for concrete call request from front (answer);
Dev_Shared_Event_Msg_Front_
: messages are sent by front;
Front_Call_Request
: call request (question) for the back (manually, button click);
Front_Call_Response
: response for concrete call request from back (answer);
Frontend UUID (profile in a browser):
Session UUID (tab in a browser):
Backend UUID (one only back in the app):
SSE Stream UUID (is changed on re-connect):
Call to Back