DescriptionRemove the RequestHandler interface from the HTTP library
Having the RequestHandler interface did no add anything, so it has
been removed. The HTTP server function addRequestHandler and setter
defaultRequestHandler now just takes function.
To use an instance of a class with a request handler member function
the Dart auto closurerization works fine.
R=ajohnsen@google.com, ager@google.com
BUG=none
TEST=tests/standalone/src/io/HttpServerHandlerTest.dart
Committed: https://code.google.com/p/dart/source/detail?r=6939
Patch Set 1 #
Total comments: 4
Messages
Total messages: 4 (0 generated)
|