Update README.md
This commit is contained in:
parent
50ac79e07e
commit
ecd76d6106
@ -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
|
||||
------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user