We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd92d7 commit 68da96fCopy full SHA for 68da96f
SwiftIO/SocketIOClient.swift
@@ -116,6 +116,10 @@ public class SocketIOClient: NSObject {
116
self.engine = SocketEngine(client: self, forcePolling: self.forcePolling)
117
}
118
119
+ public convenience init(socketURL:String, opts:NSDictionary?) {
120
+ self.init(socketURL: socketURL, opts: opts)
121
+ }
122
+
123
// Closes the socket
124
public func close() {
125
self._closed = true
0 commit comments