HttpResponseFeature HttpResponseFeature Class

Syntax

Declaration

public class HttpResponseFeature : IHttpResponseFeaturePublic Class HttpResponseFeature
    Implements IHttpResponseFeature

Inheritance Hierarchy

  • System.Object
    System.Object
  • HttpResponseFeature
    HttpResponseFeature

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Properties summary

Methods summary

Constructors

  • HttpResponseFeature()
    HttpResponseFeature()
    public HttpResponseFeature()Public Sub New

Properties

  • Body
    Body
    public Stream Body { get; set; }Public Property Body As Stream

    Property Value

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

    Property Value

    • System.Boolean
      System.Boolean
  • Headers
    Headers
    public IHeaderDictionary Headers { get; set; }Public Property Headers As IHeaderDictionary

    Property Value

  • ReasonPhrase
    ReasonPhrase
    public string ReasonPhrase { get; set; }Public Property ReasonPhrase As String

    Property Value

    • System.String
      System.String
  • StatusCode
    StatusCode
    public int StatusCode { get; set; }Public Property StatusCode As Integer

    Property 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<T, TResult><System.Object, System.Threading.Tasks.Task>
      System.Func<T, TResult>(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<T, TResult><System.Object, System.Threading.Tasks.Task>
      System.Func<T, TResult>(Of System.Object, System.Threading.Tasks.Task)
    • state
      System.Object
      System.Object

Details

Assembly

Microsoft.AspNetCore.Http.dll