HttpRequestStreamReader Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
A TextReader pro čtení streamu požadavku HTTP.
public ref class HttpRequestStreamReader : System::IO::TextReader
public class HttpRequestStreamReader : System.IO.TextReader
type HttpRequestStreamReader = class
inherit TextReader
Public Class HttpRequestStreamReader
Inherits TextReader
- Dědičnost
-
HttpRequestStreamReader
Konstruktory
| HttpRequestStreamReader(Stream, Encoding) |
Inicializuje novou instanci HttpRequestStreamReader. |
| HttpRequestStreamReader(Stream, Encoding, Int32) |
Inicializuje novou instanci HttpRequestStreamReader. |
| HttpRequestStreamReader(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>) |
Inicializuje novou instanci HttpRequestStreamReader. |
Metody
| 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. |