[Modify] Polish it

This commit is contained in:
sta 2021-02-18 21:20:00 +09:00
parent b0a2426810
commit 3d9bdd3592

View File

@ -57,11 +57,19 @@ namespace WebSocketSharp.Net
#region Internal Constructors
internal ChunkedRequestStream (
Stream stream, byte[] buffer, int offset, int count, HttpListenerContext context)
Stream stream,
byte[] buffer,
int offset,
int count,
HttpListenerContext context
)
: base (stream, buffer, offset, count)
{
_context = context;
_decoder = new ChunkStream ((WebHeaderCollection) context.Request.Headers);
_decoder = new ChunkStream (
(WebHeaderCollection) context.Request.Headers
);
}
#endregion