We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab59fc commit 5831578Copy full SHA for 5831578
pkgs/http/test/html/utils.dart
@@ -0,0 +1,11 @@
1
+// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2
+// for details. All rights reserved. Use of this source code is governed by a
3
+// BSD-style license that can be found in the LICENSE file.
4
+
5
+import 'package:web/web.dart' show window;
6
7
+export '../utils.dart';
8
9
+/// The test server's echo URL.
10
+Uri get echoUrl =>
11
+ Uri.parse('${window.location.protocol}//${window.location.host}/echo');
0 commit comments