Example of sex chat

27-Dec-2020 20:25

General structure appears to be a Log element wrapper, with toplevel Join and Message elements.It's a little strange how the To element has children indicating all the recepients, normally that would be implicit, but there may be a reason that isn't clear just from this example.How the username is handled is different for each app: The username value is wrappend in a small JSON document: ed to the server using XMLHttp Request (AJAX).The server responds to the request with a response telling the browser to set a cookie with the username.

A user of the two chat room implementations will not notice any difference in the external behaviour of the system (except for the fact that Event Source and Web Socket may or may not be implemented in all browsers - Chrome supports them both).

This is easy with the REST/Event Source application.