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 40609bc commit ff7f7e8Copy full SHA for ff7f7e8
pkgs/http/test/stub_server.dart
@@ -12,7 +12,7 @@ import 'package:stream_channel/stream_channel.dart';
12
13
void hybridMain(StreamChannel<dynamic> channel) async {
14
var numOfRequests = 0;
15
- final server = await HttpServer.bind('localhost', 63618);
+ final server = await HttpServer.bind('localhost', 0);
16
final url = Uri.http('localhost:${server.port}', '');
17
server.listen((request) async {
18
var path = request.uri.path;
0 commit comments