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

refactor: rewrite from URLWebSocketTask to NWConnection #11

Open
grabbou opened this issue Nov 1, 2024 · 0 comments
Open

refactor: rewrite from URLWebSocketTask to NWConnection #11

grabbou opened this issue Nov 1, 2024 · 0 comments

Comments

@grabbou
Copy link
Collaborator

grabbou commented Nov 1, 2024

URLWebSocketTask is built-in iOS API. Unfortunately, it does not support closing with custom codes. To support that, we would have to migrate to something more flexible, such as NWConnection, that this module is based on.

I have a work-in-progress implementation in the tmp branch, however, it has worse performance on sending, which has to be investigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant