Delen via


PushStreamHttpResult Class

Definition

Represents an IResult that when executed will write a file from the writer callback to the response.

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

Properties

ContentType

Gets the Content-Type header for the response.

EnableRangeProcessing

Gets the value that enables range processing for the file result.

EntityTag

Gets the etag associated with the file result.

FileDownloadName

Gets the file name that will be used in the Content-Disposition header of the response.

FileLength

Gets or sets the file length information .

LastModified

Gets the last modified information associated with the file result.

Methods

ExecuteAsync(HttpContext)

Write an HTTP response reflecting the result.

Applies to