From cf02582d1b82edfa773ee0770bb2c7c74f996d3b Mon Sep 17 00:00:00 2001 From: Tobe O Date: Tue, 6 Feb 2018 23:59:59 -0500 Subject: [PATCH] Change return type of `AngelHttp.createRequestContext` --- .idea/workspace.xml | 42 +++++++++++++++++------------------- lib/src/http/angel_http.dart | 2 +- 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 33521cff..adcfb23a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,8 @@ - - @@ -33,8 +31,8 @@ - - + + @@ -312,7 +310,7 @@ - + - - - @@ -994,9 +989,12 @@ + + + - @@ -1055,7 +1053,6 @@ @@ -1501,8 +1499,8 @@ - - + + diff --git a/lib/src/http/angel_http.dart b/lib/src/http/angel_http.dart index 1b4debbb..da3ad43f 100644 --- a/lib/src/http/angel_http.dart +++ b/lib/src/http/angel_http.dart @@ -276,7 +276,7 @@ class AngelHttp { }); } - Future createRequestContext(HttpRequest request) { + Future createRequestContext(HttpRequest request) { var path = request.uri.path.replaceAll(_straySlashes, ''); if (path.length == 0) path = '/'; return HttpRequestContextImpl.from(request, app, path).then((req) async {