From fa753bdc15c146d84688607096827618584af5aa Mon Sep 17 00:00:00 2001 From: consuelita Date: Tue, 1 Jun 2021 15:36:12 -0500 Subject: [PATCH] Additional Public Inits --- Sources/Transmission/Connection.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Transmission/Connection.swift b/Sources/Transmission/Connection.swift index 64597dc..15e6484 100644 --- a/Sources/Transmission/Connection.swift +++ b/Sources/Transmission/Connection.swift @@ -28,12 +28,12 @@ public class Connection } } - convenience init?(connection: NWConnection) + public convenience init?(connection: NWConnection) { self.init(transport: connection) } - init?(transport: Transport.Connection) + public init?(transport: Transport.Connection) { self.connection = transport