C# Class Microsoft.AspNet.SignalR.Hosting.ResponseExtensions

Extension methods for IResponse.
Show file Open project: SignalR/SignalR

Public Methods

Method Description
End ( this response, string data ) : System.Threading.Tasks.Task

Closes the connection to a client with optional data.

Method Details

End() public static method

Closes the connection to a client with optional data.
public static End ( this response, string data ) : System.Threading.Tasks.Task
response this The .
data string The data to write to the connection.
return System.Threading.Tasks.Task