Closed danielrbrowne closed 3 years ago
Looks good. I wonder if the current implementation of
NWSwiftWebSocketServer
belongs inTests
rather thanSources
because it's an "echo" server specifically designed for use in the tests, rather than being a generic server implementation.
That's a fair point, I'll push a change. This can always be moved back to Sources
if we ever decide to expose it as part of the public API.
This PR resolves #9
NWWebSocketServer
(a localhost WebSocket echo server), as an internal class to use in 'NWWebSocketTests' in place of the externally-hosted server that was used previously.internal
for now. This may change in the future if there are requests to expose it as part of the public API.