blob: 19b82b39ffc861cad634ea7101c966f9f3f40683 [file]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:async';
import 'package:analysis_server/src/status/diagnostics.dart';
class ClientPage extends DiagnosticPageWithNav {
new(super.site, [super.id = 'client', super.title = 'Client'])
: super(description: 'Information about the client.');
@override
Future<void> generateContent(Map<String, String> params) async {
h3('Client Diagnostic Information');
prettyJson(server.clientDiagnosticInformation);
}
}