Method GetStreamWriter
Namespace: Sisk.Core.Http.Streams
Assembly: Sisk.Core.dll
GetStreamWriter(string?, Encoding?, string?)
Returns a StreamWriter for writing to the response stream, setting the content type and encoding.
public StreamWriter GetStreamWriter(string? contentType, Encoding? encoding, string? newLine = "\r\n")
Parameters
contentType string?
The content type of the response, or null to omit the content type header.
encoding Encoding?
The encoding to use for the response, or null to use the default encoding.
newLine string?
The new line string literal for the writer.
Returns
A StreamWriter for writing to the response stream.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語