Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plan to support also Server? #22

Open
malcommac opened this issue Nov 23, 2020 · 2 comments
Open

Any plan to support also Server? #22

malcommac opened this issue Nov 23, 2020 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@malcommac
Copy link

Hi guys,
Thank you for your work. Is there any plan to support also websocket server?

@danielrbrowne
Copy link
Contributor

Are you referring to exposing NWWebSocketSever via the public API?

If so, do you have a use case in mind? In its current implementation the server isn't really suitable for use outside of the unit tests as it has too many baked-in assumptions IMHO. However, in the future a server object could be made available via the public API if there is a demand for it.

@danielrbrowne danielrbrowne added enhancement New feature or request question Further information is requested labels Nov 23, 2020
@malcommac
Copy link
Author

Yeah. Currently there are several implementation of websocket client for iOS, few using SwiftNIO.
However there is only one implementation (Telegraph from the far I know) which support even the server side.
SwiftNIO allows to create both server and client and I think it's a nice addition to the library supports both of them. I'm working on a software which needs a server on macOS and an iOS client and currently there aren't so many options to use.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants