Skip to content

Commit d938156

Browse files
committed
Make debug flag as public
1 parent c97bb6b commit d938156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Network/Websocket/Websocket.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ public extension Flow {
1515
private var isConnected = false
1616
private var subscriptions: [String: (subject: PassthroughSubject<Any, Error>, type: Any.Type)] = [:]
1717
private var cancellables = Set<AnyCancellable>()
18-
private var isDebug: Bool = false
1918
private var timeoutInterval: TimeInterval = 10
2019
private let connectionSubject = PassthroughSubject<Void, Never>()
2120
private var isConnecting: Bool = false
21+
public var isDebug: Bool = false
2222

2323
private var decoder: JSONDecoder {
2424
let dateFormatter = DateFormatter()

0 commit comments

Comments
 (0)