Super simple example of how to use websockets in dart on both client and server side. Sample provides a very simple chat server and client implementation. The server sets a default nickname on established connection which the client can then change. Entering the client nick and pressing Enter
key will change it on the server and client. Entering in text into the bottom chat window and pressing Enter
will send the text to all the clients connected.
adam-singer / chat-websocket-dart Goto Github PK
View Code? Open in Web Editor NEWSample chat server and client using websockets in Dart