Skip to content

Commit

Permalink
Use token and data from config on connect request (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon authored Jul 28, 2022
1 parent 4427d21 commit eb31740
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ abstract class Client {
}

class ClientImpl implements Client {
ClientImpl(this._url, this._config, this._transportBuilder);
ClientImpl(this._url, this._config, this._transportBuilder) {
_token = _config.token;
_data = _config.data;
}

final TransportBuilder _transportBuilder;
final _subscriptions = <String, SubscriptionImpl>{};
Expand Down

0 comments on commit eb31740

Please sign in to comment.