public Task Flush() { #if NET45 return(ResponseBody.FlushAsync()); #else return(TaskAsyncHelper.FromMethod(() => ResponseBody.Flush())); #endif }
public Task FlushAsync() { try { ResponseBody.Flush(); } catch { } return(TaskAsyncHelper.Empty); }
public Task EndAsync() { ResponseBody.Flush(); return(TaskAsyncHelper.Empty); }