Fix wrong type in HTTP library
R=ager@google.com BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com//10375051 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7408 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user