Update README.md

This commit is contained in:
Erik Little 2015-02-24 13:07:07 -05:00
parent 50ac79e07e
commit ecd76d6106

View File

@ -23,7 +23,7 @@ Methods
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(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.
7. `socket.close()` - Closes the socket. Once a socket is closed it should not be reopened.
Events
------