Microsoft.AspNet.SignalR.PersistentConnection.FailResponse C# (CSharp) Method

FailResponse() private static method

private static FailResponse ( IResponse response, string message, int statusCode = 400 ) : System.Threading.Tasks.Task
response IResponse
message string
statusCode int
return System.Threading.Tasks.Task
        private static Task FailResponse(IResponse response, string message, int statusCode = 400)
        {
            response.StatusCode = statusCode;
            return response.End(message);
        }