C# Class Microsoft.AspNetCore.SignalR.ResponseExtensions

Show file Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

Public Methods

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

Set the entire response body to data. This method does not support writing to a response that has already been written to since it sets HttpResponse.ContentLength.

Flush ( this response ) : System.Threading.Tasks.Task
Write ( this response, ArraySegment data ) : void

Method Details

End() public static method

Set the entire response body to data. This method does not support writing to a response that has already been written to since it sets HttpResponse.ContentLength.
public static End ( this response, string data ) : System.Threading.Tasks.Task
response this
data string
return System.Threading.Tasks.Task

Flush() public static method

public static Flush ( this response ) : System.Threading.Tasks.Task
response this
return System.Threading.Tasks.Task

Write() public static method

public static Write ( this response, ArraySegment data ) : void
response this
data ArraySegment
return void