mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: FileHandle and BaseSocket should implement a common protocol as these are both "based" on file descriptors Modifications: - Add FileDescriptor protocol - Implement it for FileHandler and BaseSocket Result: Better code structure