HttpResponseStreamWriter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class HttpResponseStreamWriter : System::IO::TextWriter
public class HttpResponseStreamWriter : System.IO.TextWriter
type HttpResponseStreamWriter = class
inherit TextWriter
Public Class HttpResponseStreamWriter
Inherits TextWriter
- Inheritance
-
HttpResponseStreamWriter
Constructors
HttpResponseStreamWriter(Stream, Encoding, Int32, ArrayPool<Byte>, ArrayPool<Char>) |
Initializes a new instance of HttpResponseStreamWriter. |
HttpResponseStreamWriter(Stream, Encoding, Int32) |
Initializes a new instance of HttpResponseStreamWriter. |
HttpResponseStreamWriter(Stream, Encoding) |
Initializes a new instance of HttpResponseStreamWriter. |
Fields
DefaultBufferSize |
Default buffer size. |
Properties
Encoding | When overridden in a derived class, returns the character encoding in which the output is written. |
Methods
Dispose(Boolean) | Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources. |
DisposeAsync() | Asynchronously releases all resources used by the TextWriter object. |
Flush() | Clears all buffers for the current writer and causes any buffered data to be written to the underlying device. |
FlushAsync() | Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device. |
Write(Char) | Writes a character to the text stream. |
Write(Char[], Int32, Int32) | Writes a subarray of characters to the text stream. |
Write(ReadOnlySpan<Char>) | Writes a character span to the text stream. |
Write(String) | Writes a string to the text stream. |
WriteAsync(Char) | Writes a character to the text stream asynchronously. |
WriteAsync(Char[], Int32, Int32) | Writes a subarray of characters to the text stream asynchronously. |
WriteAsync(ReadOnlyMemory<Char>, CancellationToken) | Asynchronously writes a character memory region to the text stream. |
WriteAsync(String) | Writes a string to the text stream asynchronously. |
WriteLine(ReadOnlySpan<Char>) | Writes the text representation of a character span to the text stream, followed by a line terminator. |
WriteLineAsync(Char) | Asynchronously writes a character to the text stream, followed by a line terminator. |
WriteLineAsync(Char[], Int32, Int32) | Asynchronously writes a subarray of characters to the text stream, followed by a line terminator. |
WriteLineAsync(ReadOnlyMemory<Char>, CancellationToken) | Asynchronously writes the text representation of a character memory region to the text stream, followed by a line terminator. |
WriteLineAsync(String) | Asynchronously writes a string to the text stream, followed by a line terminator. |