Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Sample chat server and client using websockets in Dart
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Example Chat Client/Server with Websockets in Dart

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.

Something went wrong with that request. Please try again.