Http​Response​Feature Http​Response​Feature Class

Definition

public class HttpResponseFeature : IHttpResponseFeaturePublic Class HttpResponseFeature
    Inherits IHttpResponseFeature
Inheritance
System.ObjectSystem.Object
HttpResponseFeatureHttpResponseFeature

Constructors

HttpResponseFeature() HttpResponseFeature()

public HttpResponseFeature()Public Sub New

Properties

Body Body

public Stream Body { get; set; }Public Property Body As Stream
Value
System.IO.Stream System.IO.Stream

HasStarted HasStarted

public virtual bool HasStarted { get; }Public Overridable ReadOnly Property HasStarted As Boolean
Value
System.Boolean System.Boolean

Headers Headers

public IHeaderDictionary Headers { get; set; }Public Property Headers As IHeaderDictionary
Value
IHeaderDictionary IHeaderDictionary

ReasonPhrase ReasonPhrase

public string ReasonPhrase { get; set; }Public Property ReasonPhrase As String
Value
System.String System.String

StatusCode StatusCode

public int StatusCode { get; set; }Public Property StatusCode As Integer
Value
System.Int32 System.Int32

Methods

OnCompleted(Func<Object, Task>, Object) OnCompleted(Func(Of Object, Task), Object)

public virtual void OnCompleted(Func<object, Task> callback, object state)Public Overridable Sub OnCompleted(callback As Func(Of Object, Task), state As Object)
Parameters
callback
System.Func<System.Object, System.Threading.Tasks.Task> System.Func(Of System.Object, System.Threading.Tasks.Task)
state
System.Object System.Object

OnStarting(Func<Object, Task>, Object) OnStarting(Func(Of Object, Task), Object)

public virtual void OnStarting(Func<object, Task> callback, object state)Public Overridable Sub OnStarting(callback As Func(Of Object, Task), state As Object)
Parameters
callback
System.Func<System.Object, System.Threading.Tasks.Task> System.Func(Of System.Object, System.Threading.Tasks.Task)
state
System.Object System.Object