Move Controller to core
This commit is contained in:
parent
0ad9560095
commit
8ef86f61a3
5 changed files with 4 additions and 6 deletions
|
@ -1,4 +1,5 @@
|
|||
export 'anonymous_service.dart';
|
||||
export 'controller.dart';
|
||||
export 'hooked_service.dart';
|
||||
export 'map_service.dart';
|
||||
export 'metadata.dart';
|
||||
|
|
|
@ -10,7 +10,7 @@ import 'package:file/file.dart';
|
|||
import 'package:http_parser/http_parser.dart';
|
||||
import 'package:mime/mime.dart';
|
||||
|
||||
import '../http/http.dart';
|
||||
import 'controller.dart';
|
||||
import 'request_context.dart';
|
||||
import 'server.dart' show Angel;
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import 'package:http_parser/http_parser.dart';
|
|||
import 'package:logging/logging.dart';
|
||||
import 'package:tuple/tuple.dart';
|
||||
|
||||
import '../http/http.dart';
|
||||
import 'controller.dart';
|
||||
import 'hooked_service.dart';
|
||||
import 'request_context.dart';
|
||||
import 'response_context.dart';
|
||||
|
@ -40,7 +40,6 @@ class Angel extends Routable {
|
|||
handlerCache = new HashMap();
|
||||
|
||||
Router _flattened;
|
||||
AngelHttp _http;
|
||||
bool _isProduction;
|
||||
Angel _parent;
|
||||
|
||||
|
@ -212,8 +211,7 @@ class Angel extends Routable {
|
|||
shutdownHooks.clear();
|
||||
responseFinalizers.clear();
|
||||
_flattened = null;
|
||||
_http?.close();
|
||||
return new Future.value(_http?.httpServer);
|
||||
return new Future.value();
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
@ -4,7 +4,6 @@ library angel_framework.http;
|
|||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
export 'angel_http.dart';
|
||||
export 'controller.dart';
|
||||
export 'http_request_context.dart';
|
||||
export 'http_response_context.dart';
|
||||
|
||||
|
|
Loading…
Reference in a new issue