commit | 7582c7e97c2af8e1512ed98b493b68535649ee40 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Fri Sep 16 13:22:14 2016 -0700 |
committer | Kevin Moore <kevmoo@google.com> | Fri Sep 16 13:22:14 2016 -0700 |
tree | 6face5b93be825d88cfc8bd13fb0316d63f257eb | |
parent | b37c7e4cfc1518effda0e9a1825d452a4c79d629 [diff] |
small fix to make analyzer happy R=nbosch@google.com Review URL: https://codereview.chromium.org//2344893007 .
diff --git a/lib/shelf_io.dart b/lib/shelf_io.dart index 4991089..58fbd74 100644 --- a/lib/shelf_io.dart +++ b/lib/shelf_io.dart
@@ -116,8 +116,8 @@ headers[k] = v.join(','); }); - onHijack(callback) { - return request.response + void onHijack(callback) { + request.response .detachSocket(writeHeaders: false) .then((socket) => callback(socket, socket)); }