Delen via


HttpResponseWritingExtensions Class

Definition

Convenience methods for writing to the response.

public ref class HttpResponseWritingExtensions abstract sealed
public static class HttpResponseWritingExtensions
type HttpResponseWritingExtensions = class
Public Module 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