mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
fix some typos, force unwraps and inconsistencies Motivation: Reviewing the code I found a few typos that hindered readability, some unnecessary force unwraps and inconsistencies in the codebase. Modifications: - The main file in NIOWebSocketServer now accepts command line arguments and binds to a passed in host and port like the other server examples do. - Minor typo fixes - removed one force unwrap Result: - The result of my change will bring the NIOWebSocketServer more inline with how the NIOHTTP1 and NIOChat servers examples are setup. - less force unwrapping - fewer typos [message edited by @weissi]