From 50ac79e07e995c8a5bc872dfaeb944db7f7ba309 Mon Sep 17 00:00:00 2001 From: Erik Little Date: Tue, 24 Feb 2015 13:03:34 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bf447c..a242d39 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Methods 3. `socket.emit(event:String, args:AnyObject...)` - Sends a message. Can send multiple args. 4. `socket.emitWithAck(event:String, args:AnyObject...) -> SocketAckHandler` - Sends a message that requests an acknoweldgement from the server. Returns a SocketAckHandler which you can use to add an onAck handler. See example. 5. `socket.connect()` - Establishes a connection to the server. A "connect" event is fired upon successful connection. -6. `socket.connectWithParams` - Establishes a connection to the server, passing the specified params. A "connect" event is fired upon successful connection. +6. `socket.connectWithParams(params:[String: AnyObject])` - Establishes a connection to the server, passing the specified params. A "connect" event is fired upon successful connection. 6. `socket.close()` - Closes the socket. Once a socket is closed it should not be reopened. Events