Import network module on linux
This commit is contained in:
parent
f0589b9b90
commit
04dfb12052
@ -1,12 +1,18 @@
|
||||
import Foundation
|
||||
import PushMessageDefinitions
|
||||
|
||||
// Use crypto replacement on Linux
|
||||
#if canImport(CryptoKit)
|
||||
import CryptoKit
|
||||
#else
|
||||
import Crypto
|
||||
#endif
|
||||
|
||||
// Import network types on Linux
|
||||
#if canImport(FoundationNetworking)
|
||||
import FoundationNetworking
|
||||
#endif
|
||||
|
||||
/**
|
||||
A client to interact with a push server.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user