IResponse Interface
.NET Framework 4
Represents a connection to the client.
Namespace: Microsoft.AspNet.SignalR.Hosting
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Interface IResponse
'Usage
Dim instance As IResponse
public interface IResponse
public interface class IResponse
type IResponse = interface end
public interface IResponse
The IResponse type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
CancellationToken | Gets a cancellation token that represents the client's lifetime. |
![]() |
ContentType | Gets or sets the content type of the response. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
End | Closes the connection to the client. |
![]() |
Flush | Flushes the buffered response to the client. |
![]() |
Write | Writes buffered data. |
Top
Extension Methods
Name | Description | |
---|---|---|
![]() |
AsStream | Wraps the underlying IResponse object as a stream (Defined by ResponseExtensions.) |
![]() |
End | Closes the connection to a client with optional data. (Defined by ResponseExtensions.) |
Top