Share via


HttpResponseStreamWriter Constructors

Definition

Overloads

HttpResponseStreamWriter(Stream, Encoding)

Initializes a new instance of HttpResponseStreamWriter.

HttpResponseStreamWriter(Stream, Encoding, Int32)

Initializes a new instance of HttpResponseStreamWriter.

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

Initializes a new instance of HttpResponseStreamWriter.

HttpResponseStreamWriter(Stream, Encoding)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

Initializes a new instance of HttpResponseStreamWriter.

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

Parameters

stream
Stream

The HTTP response Stream.

encoding
Encoding

The character encoding to use.

Applies to

HttpResponseStreamWriter(Stream, Encoding, Int32)

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

Initializes a new instance of HttpResponseStreamWriter.

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

Parameters

stream
Stream

The HTTP response Stream.

encoding
Encoding

The character encoding to use.

bufferSize
Int32

The minimum buffer size.

Applies to

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

Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs
Source:
HttpResponseStreamWriter.cs

Initializes a new instance of HttpResponseStreamWriter.

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

Parameters

stream
Stream

The HTTP response Stream.

encoding
Encoding

The character encoding to use.

bufferSize
Int32

The minimum buffer size.

bytePool
ArrayPool<Byte>

The byte array pool.

charPool
ArrayPool<Char>

The char array pool.

Applies to