socketId property

  1. @override
String? get socketId
override

The socket identifier assigned by the server, or null when not connected.

Required for server-side auth endpoints that validate channel subscriptions.

Implementation

@override
String? get socketId => _connected ? 'fake-socket-id' : null;