diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart index 8b197d799f5..822fbd590ae 100644 --- a/runtime/bin/http_impl.dart +++ b/runtime/bin/http_impl.dart @@ -976,7 +976,7 @@ class _HttpServer implements HttpServer { _closeServer = false; } - addRequestHandler(bool matcher(String path), + addRequestHandler(bool matcher(HttpRequest request), void handler(HttpRequest request, HttpResponse response)) { _handlers.add(new _RequestHandlerRegistration(matcher, handler)); }