Response Class

Definition

public ref class Response sealed
public sealed class Response
type Response = class
Public NotInheritable Class Response
Inheritance
Response

Properties

AuthenticationChallenges

The authentication challenges that will be added to the response if the status code is 401. This must be a subset of the AuthenticationSchemes enabled on the server.

Body
CacheTtl

Enable kernel caching for the response with the given timeout. Http.Sys determines if the response can be cached.

ContentLength
ContentType
HasStarted

Indicates if the response status, reason, and headers are prepared to send and can no longer be modified. This is caused by the first write or flush to the response body.

HasStartedSending
Headers
ReasonPhrase
ShouldBuffer
StatusCode

Methods

OnCompleted(Func<Object,Task>, Object)
OnStarting(Func<Object,Task>, Object)
Reset()
SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)

Applies to