We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb511a3 + 9bd879b commit 15afe0dCopy full SHA for 15afe0d
Sources/Foundation/Stream.swift
@@ -323,14 +323,15 @@ extension Stream {
323
}
324
#endif
325
326
-extension StreamDelegate {
327
- func stream(_ aStream: Stream, handle eventCode: Stream.Event) { }
328
-}
329
330
public protocol StreamDelegate: AnyObject {
331
func stream(_ aStream: Stream, handle eventCode: Stream.Event)
332
333
+extension StreamDelegate {
+ public func stream(_ aStream: Stream, handle eventCode: Stream.Event) { }
+}
334
+
335
// MARK: -
336
extension Stream.PropertyKey {
337
public static let socketSecurityLevelKey = Stream.PropertyKey(rawValue: "kCFStreamPropertySocketSecurityLevel")
0 commit comments