Lue englanniksi

Jaa


HttpResponseWritingExtensions Class

Definition

Convenience methods for writing to the response.

C#
public static class HttpResponseWritingExtensions
Inheritance
HttpResponseWritingExtensions

Methods

WriteAsync(HttpResponse, String, CancellationToken)

Writes the given text to the response body. UTF-8 encoding will be used.

WriteAsync(HttpResponse, String, Encoding, CancellationToken)

Writes the given text to the response body using the given encoding.

Applies to

Tuote Versiot
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0