Share via


ResponseExtensions Class

.NET Framework 4

Extension methods for IResponse .

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Hosting.ResponseExtensions

Namespace:  Microsoft.AspNet.SignalR.Hosting
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ResponseExtensions
'Usage
public static class ResponseExtensions
[ExtensionAttribute]
public ref class ResponseExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ResponseExtensions =  class end
public final class ResponseExtensions

The ResponseExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member AsStream Wraps the underlying IResponse object as a stream
Public methodStatic member End Closes the connection to a client with optional data.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Hosting Namespace