From e2ab9aebb5cb7ba2cd8fad7f9255913df1cfd3c3 Mon Sep 17 00:00:00 2001 From: Abhijeet Mohan Date: Thu, 7 Jul 2016 23:55:12 +0530 Subject: [PATCH] add example --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e8986fc..08ec149 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # es6-rws ES6 Implementation of ReconnectingWebsocket + +# Example + +```js +import RWS from 'es6-rws'; + +let rws = new RWS('ws://localhost:8080', 'json', {debug: true}) +```