socketcluster_client 0.3.0 copy "socketcluster_client: ^0.3.0" to clipboard
socketcluster_client: ^0.3.0 copied to clipboard

SocketCluster.io Client for Dart

SocketCluster Dart Client #

Build Status Coverage Status

SocketCluster Client is the client-side component of SocketCluster.

Example Usage #

  var socket = await Socket.connect('ws://localhost:8000/socketcluster/',
      listener: new MyListener());
      
  socket.on('rand', (name, data, ack) {
    print('got message $data from event $name');
    ack(name, 'No error', 'Hi there buddy');
  });

Note #

This is a straight and dirty port from the C# client.

Large changes will be made to clean this up and make it more 'Dartified'

For instance, BasicListener will be removed in favor of Stream

4
likes
100
pub points
52%
popularity

Publisher

unverified uploader

SocketCluster.io Client for Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on socketcluster_client