HttpRequestStreamReader Clase

Definición

para TextReader leer el flujo de solicitud HTTP.

public ref class HttpRequestStreamReader : System::IO::TextReader
public class HttpRequestStreamReader : System.IO.TextReader
type HttpRequestStreamReader = class
    inherit TextReader
Public Class HttpRequestStreamReader
Inherits TextReader
Herencia
HttpRequestStreamReader

Constructores

HttpRequestStreamReader(Stream, Encoding)

Inicializa una nueva instancia de la clase HttpRequestStreamReader.

HttpRequestStreamReader(Stream, Encoding, Int32)

Inicializa una nueva instancia de la clase HttpRequestStreamReader.

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

Inicializa una nueva instancia de la clase HttpRequestStreamReader.

Métodos

Dispose(Boolean)

Releases the unmanaged resources used by the TextReader and optionally releases the managed resources.

Peek()

Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the reader.

Read()

Reads the next character from the text reader and advances the character position by one character.

Read(Char[], Int32, Int32)

Reads a specified maximum number of characters from the current reader and writes the data to a buffer, beginning at the specified index.

Read(Span<Char>)

Reads the characters from the current reader and writes the data to the specified buffer.

ReadAsync(Char[], Int32, Int32)

Reads a specified maximum number of characters from the current text reader asynchronously and writes the data to a buffer, beginning at the specified index.

ReadAsync(Memory<Char>, CancellationToken)

Asynchronously reads the characters from the current stream into a memory block.

ReadLine()

Reads a line of characters from the text reader and returns the data as a string.

ReadLineAsync()

Reads a line of characters asynchronously and returns the data as a string.

ReadToEndAsync()

Reads all characters from the current position to the end of the text reader asynchronously and returns them as one string.

Se aplica a