HttpRequestStreamReader 构造函数

定义

重载

HttpRequestStreamReader(Stream, Encoding)

初始化 HttpRequestStreamReader 的新实例。

HttpRequestStreamReader(Stream, Encoding, Int32)

初始化 HttpRequestStreamReader 的新实例。

HttpRequestStreamReader(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>)

初始化 HttpRequestStreamReader 的新实例。

HttpRequestStreamReader(Stream, Encoding)

Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs

初始化 HttpRequestStreamReader 的新实例。

public:
 HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding)

参数

stream
Stream

HTTP 请求 Stream

encoding
Encoding

要使用的字符编码。

适用于

HttpRequestStreamReader(Stream, Encoding, Int32)

Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs

初始化 HttpRequestStreamReader 的新实例。

public:
 HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding * int -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer)

参数

stream
Stream

HTTP 请求 Stream

encoding
Encoding

要使用的字符编码。

bufferSize
Int32

最小缓冲区大小。

适用于

HttpRequestStreamReader(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>)

Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs
Source:
HttpRequestStreamReader.cs

初始化 HttpRequestStreamReader 的新实例。

public:
 HttpRequestStreamReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int bufferSize, System::Buffers::ArrayPool<System::Byte> ^ bytePool, System::Buffers::ArrayPool<char> ^ charPool);
public HttpRequestStreamReader (System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize, System.Buffers.ArrayPool<byte> bytePool, System.Buffers.ArrayPool<char> charPool);
new Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader : System.IO.Stream * System.Text.Encoding * int * System.Buffers.ArrayPool<byte> * System.Buffers.ArrayPool<char> -> Microsoft.AspNetCore.WebUtilities.HttpRequestStreamReader
Public Sub New (stream As Stream, encoding As Encoding, bufferSize As Integer, bytePool As ArrayPool(Of Byte), charPool As ArrayPool(Of Char))

参数

stream
Stream

HTTP 请求 Stream

encoding
Encoding

要使用的字符编码。

bufferSize
Int32

最小缓冲区大小。

bytePool
ArrayPool<Byte>

要使用的字节数组池。

charPool
ArrayPool<Char>

要使用的 char 数组池。

适用于