Rivulet Client
Allows you to connect to a Journeyman server with Rivulet. Use with browserify for client side code.
Server
var Journeyman = ;var Rivulet = ; var server = 3000;var rivulet = ; server; rivulet;rivulet;
Client:
var RivuletClient = ; var client = '/rivulets/boom'; client; client; client;
Notes
Client will automatically reconnect on a disconnection. To fully disconnect use the client's disconnect method directly.
Caveat
If you are using this library outside the client, you must pass the full path i.e. http://localhost:3000/rivulets/boom.