Closed itxtoledo closed 3 years ago
This simple PR add user-agent to dart_meteor instead of using the default of the dart itself which is Dart/2.15 (dart:io).
Dart/2.15 (dart:io)
You can set your own custom user agent like "Awesome iOS App" or leave new field empty to use the default value "Dart Meteor / X.X.X";
MeteorClient.connect(url: 'https://your-awesome-meteor-app.com', userAgent: 'Awesome iOS App')...
Ref: https://api.flutter.dev/flutter/dart-io/WebSocket/userAgent.html
This simple PR add user-agent to dart_meteor instead of using the default of the dart itself which is
Dart/2.15 (dart:io)
.You can set your own custom user agent like "Awesome iOS App" or leave new field empty to use the default value "Dart Meteor / X.X.X";
Ref: https://api.flutter.dev/flutter/dart-io/WebSocket/userAgent.html