platform/lib/user_agent.dart

17 lines
347 B
Dart
Raw Normal View History

2016-12-12 04:25:43 +00:00
library user_agent;
import 'src/matchers.dart';
import 'src/user_agent.dart';
2016-12-12 04:27:25 +00:00
/// Parses the given header into a user agent.
2016-12-12 04:25:43 +00:00
UserAgent parse(String header) {}
2016-12-12 04:27:25 +00:00
class UserAgentException implements Exception {
final String message;
UserAgentException(this.message);
@override
String toString() => 'User Agent exception: $message';
}