Refactored a few for HttpConnection.cs

This commit is contained in:
sta
2015-04-10 16:15:05 +09:00
parent a6bd7c35c4
commit a058af8a01
2 changed files with 21 additions and 21 deletions

View File

@@ -227,7 +227,7 @@ namespace WebSocketSharp.Net
get {
return _inputStream ??
(_inputStream = HasEntityBody
? _context.Connection.GetRequestStream (_chunked, _contentLength)
? _context.Connection.GetRequestStream (_contentLength, _chunked)
: Stream.Null);
}
}