Skip to content

Commit

Permalink
small fix to make analyzer happy
Browse files Browse the repository at this point in the history
R=nbosch@google.com

Review URL: https://codereview.chromium.org//2344893007 .
  • Loading branch information
kevmoo committed Sep 16, 2016
1 parent b37c7e4 commit 7582c7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/shelf_io.dart
Expand Up @@ -116,8 +116,8 @@ Request _fromHttpRequest(HttpRequest request) {
headers[k] = v.join(',');
});

onHijack(callback) {
return request.response
void onHijack(callback) {
request.response
.detachSocket(writeHeaders: false)
.then((socket) => callback(socket, socket));
}
Expand Down

0 comments on commit 7582c7e

Please sign in to comment.