Skip to content

Commit f9f5b58

Browse files
committed
Import FoundationNetworking
1 parent 325d153 commit f9f5b58

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Sources/Realtime/V2/RealtimeClientV2.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import ConcurrencyExtras
99
import Foundation
1010
@_spi(Internal) import _Helpers
1111

12+
#if canImport(FoundationNetworking)
13+
import FoundationNetworking
14+
#endif
15+
1216
public actor RealtimeClientV2 {
1317
public struct Configuration: Sendable {
1418
var url: URL

Sources/Realtime/V2/WebSocketClient.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ import ConcurrencyExtras
99
import Foundation
1010
@_spi(Internal) import _Helpers
1111

12+
#if canImport(FoundationNetworking)
13+
import FoundationNetworking
14+
#endif
15+
1216
protocol WebSocketClientProtocol: Sendable {
1317
var status: AsyncStream<WebSocketClient.ConnectionStatus> { get }
1418

0 commit comments

Comments
 (0)