Export (0) Print
Expand All

IResponse Interface

.NET Framework 4
.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)

public interface IResponse

The IResponse type exposes the following members.

  NameDescription
Public propertyCancellationTokenGets a cancellation token that represents the client's lifetime.
Public propertyContentTypeGets or sets the content type of the response.
Top

  NameDescription
Public methodEndCloses the connection to the client.
Public methodFlushFlushes the buffered response to the client.
Public methodWriteWrites buffered data.
Top

  NameDescription
Public Extension MethodAsStreamWraps the underlying IResponse object as a stream (Defined by ResponseExtensions.)
Public Extension MethodEndCloses the connection to a client with optional data. (Defined by ResponseExtensions.)
Top
Show:
© 2014 Microsoft