[Modify] Polish it
This commit is contained in:
parent
b0a2426810
commit
3d9bdd3592
@ -57,11 +57,19 @@ namespace WebSocketSharp.Net
|
|||||||
#region Internal Constructors
|
#region Internal Constructors
|
||||||
|
|
||||||
internal ChunkedRequestStream (
|
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)
|
: base (stream, buffer, offset, count)
|
||||||
{
|
{
|
||||||
_context = context;
|
_context = context;
|
||||||
_decoder = new ChunkStream ((WebHeaderCollection) context.Request.Headers);
|
|
||||||
|
_decoder = new ChunkStream (
|
||||||
|
(WebHeaderCollection) context.Request.Headers
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user