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 d030b15 commit 6061152Copy full SHA for 6061152
Sources/Realtime/RealtimeClient.swift
@@ -192,6 +192,21 @@ public class RealtimeClient: TransportDelegate {
192
vsn: vsn
193
)
194
}
195
+
196
+ @available(*, deprecated, renamed: "init(_:paramsClosure:vsn:)")
197
+ public convenience init(
198
+ endPoint: String,
199
+ paramsClosure: PayloadClosure?,
200
+ vsn: String = Defaults.vsn
201
+ ) {
202
+ self.init(
203
+ endPoint: endPoint,
204
+ transport: { url in URLSessionTransport(url: url) },
205
+ paramsClosure: paramsClosure,
206
+ vsn: vsn
207
+ )
208
+ }
209
210
211
public init(
212
endPoint: String,
0 commit comments