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

Add option to allow the use of URLSessionWebSocketTask in WebSocket client. #1420

Merged

Conversation

georgenavarro
Copy link
Contributor

Added a useCustomEngine case to SocketIOClientOption. The associated bool will be passed to the WebSocket initializer. I needed this option so that I could control if the WebSocket client would use the native URLSessionWebSocketTask instead of the "custom engine."

… to use the custom engine or native URLSession web tasks.
@georgenavarro georgenavarro changed the title Add option to allow the use of URLSessionWebSocketTask in WebSocket client. Jul 26, 2022
@nuclearace nuclearace self-requested a review July 29, 2022 14:49
@nuclearace nuclearace merged commit 61a7f2e into socketio:development Jul 29, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants