From 75a4adfbbd8fc98f1382207bad3effe28c8275a7 Mon Sep 17 00:00:00 2001 From: Erik Date: Mon, 27 Apr 2015 12:59:34 -0400 Subject: [PATCH] document reconnect --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7dbcef2..78d5afc 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ Methods 7. `connect()` - Establishes a connection to the server. A "connect" event is fired upon successful connection. 8. `connectWithParams(params:[String: AnyObject])` - Establishes a connection to the server passing the specified params. A "connect" event is fired upon successful connection. 9. `close(#fast:Bool)` - Closes the socket. Once a socket is closed it should not be reopened. Pass true to fast if you're closing from a background task. +10. `reconnect()` - Causes the client to reconnect to the server. Events ------