Skip to content

Commit cb303c1

Browse files
Add public initializer to HttpConnectionOptions to allow external instantiation (#76)
1 parent 991ea57 commit cb303c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/SignalRClient/HttpConnection.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public struct HttpConnectionOptions {
2828
var webSocket: AnyObject? // Placeholder for WebSocket type
2929
var eventSource: EventSourceAdaptor?
3030
var useStatefulReconnect: Bool? // Not supported yet
31+
32+
public init() {}
3133
}
3234

3335
// MARK: - Models

0 commit comments

Comments
 (0)