MemoryPoolHttpRequestStreamReaderFactory Class¶
An Microsoft.AspNetCore.Mvc.Internal.IHttpRequestStreamReaderFactory
that uses pooled buffers.
- Namespace
Microsoft.AspNetCore.Mvc.Internal
- Assemblies
- Microsoft.AspNetCore.Mvc.Core
Syntax¶
public class MemoryPoolHttpRequestStreamReaderFactory : IHttpRequestStreamReaderFactory
-
class
Microsoft.AspNetCore.Mvc.Internal.
MemoryPoolHttpRequestStreamReaderFactory
Constructors¶
-
MemoryPoolHttpRequestStreamReaderFactory
(System.Buffers.ArrayPool<System.Byte>, System.Buffers.ArrayPool<System.Char>)¶ Creates a new
Microsoft.AspNetCore.Mvc.Internal.MemoryPoolHttpRequestStreamReaderFactory
.Arguments: - bytePool (System.Buffers.ArrayPool<System.Byte>) – The
System.Buffers.ArrayPool`1
for creatingbyte[]
buffers. - charPool (System.Buffers.ArrayPool<System.Char>) – The
System.Buffers.ArrayPool`1
for creatingchar[]
buffers.
public MemoryPoolHttpRequestStreamReaderFactory(ArrayPool<byte> bytePool, ArrayPool<char> charPool)
- bytePool (System.Buffers.ArrayPool<System.Byte>) – The
-