onRequestList method

void onRequestList(
  1. HttpRequest request
)

Implementation

void onRequestList(HttpRequest request) {
  request.response.headers.clear();
  String entryURL = '$address:$port';
  _writeJSONObject(request, [
    {
      'description': '',
      'devtoolsFrontendUrl': '$INSPECTOR_URL?ws=$entryURL',
      'title': 'Kraken App',
      'type': 'page',
      'url': bundleURL,
      'webSocketDebuggerUrl': 'ws://$entryURL'
    }
  ]);
}