Dela via


Utf8ContentHttpResult Class

Definition

An Utf8ContentHttpResult that when executed will produce a response with content.

public sealed class Utf8ContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult
type Utf8ContentHttpResult = class
    interface IResult
    interface IStatusCodeHttpResult
    interface IContentTypeHttpResult
Public NotInheritable Class Utf8ContentHttpResult
Implements IContentTypeHttpResult, IResult, IStatusCodeHttpResult
Inheritance
Utf8ContentHttpResult
Implements

Properties

ContentType

Gets the Content-Type header for the response.

ResponseContent

Gets the content representing the body of the response.

StatusCode

Gets the HTTP status code.

Methods

ExecuteAsync(HttpContext)

Writes the content to the HTTP response.

Applies to