You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ Methods
137
137
7.`emitWithAck(event: String, withItems items: [AnyObject]) -> (UInt64, (NSArray?) -> Void) -> Void` - `emitWithAck` for Objective-C. Note: The message is not sent until you call the returned function.
138
138
8.`connect()` - Establishes a connection to the server. A "connect" event is fired upon successful connection.
139
139
9.`connect(timeoutAfter timeoutAfter: Int, withTimeoutHandler handler: (() -> Void)?)` - Connect to the server. If it isn't connected after timeoutAfter seconds, the handler is called.
140
-
10.`close(fast 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.
140
+
10.`close()` - Closes the socket. Once a socket is closed it should not be reopened.
141
141
11.`reconnect()` - Causes the client to reconnect to the server.
142
142
12.`joinNamespace()` - Causes the client to join nsp. Shouldn't need to be called unless you change nsp manually.
143
143
13.`leaveNamespace()` - Causes the client to leave the nsp and go back to /
0 commit comments