triniwiz / nativescript-plugins

Apache License 2.0
78 stars 50 forks source link

Feature: Add handshake payload support for iOS #194

Closed bebrasmell closed 4 months ago

bebrasmell commented 4 months ago

The problem: Regular socket.io treats config.auth as a handshake payload. This feature is intentionally disabled in nativescript-socketio.

Solution: Parse auth field as a auth_payload and pass it on connection.