HttpResponse
HttpResponse()
Body
BodyWriter
ContentLength
ContentType
Cookies
HasStarted
Headers
HttpContext
StatusCode
CompleteAsync()
OnCompleted(Func<Task>)
OnCompleted(Func<Object, Task>, Object)
OnStarting(Func<Task>)
OnStarting(Func<Object, Task>, Object)
Redirect(String)
Redirect(String, Boolean)
RegisterForDispose(IDisposable)
RegisterForDisposeAsync(IAsyncDisposable)
StartAsync(CancellationToken)
AppendTrailer(HttpResponse, String, StringValues)
AsSystemWeb(HttpResponse)
Clear(HttpResponse)
DeclareTrailer(HttpResponse, String)
GetTypedHeaders(HttpResponse)
Redirect(HttpResponse, String, Boolean, Boolean)
SendFileAsync(HttpResponse, IFileInfo, CancellationToken)
SendFileAsync(HttpResponse, String, CancellationToken)
SendFileAsync(HttpResponse, IFileInfo, Int64, Int64?, CancellationToken)
SendFileAsync(HttpResponse, String, Int64, Int64?, CancellationToken)
SupportsTrailers(HttpResponse)
WriteAsJsonAsync(HttpResponse, Object, Type, CancellationToken)
WriteAsJsonAsync(HttpResponse, Object, JsonTypeInfo, String, CancellationToken)
WriteAsJsonAsync(HttpResponse, Object, Type, JsonSerializerOptions, CancellationToken)
WriteAsJsonAsync(HttpResponse, Object, Type, JsonSerializerContext, String, CancellationToken)
WriteAsJsonAsync(HttpResponse, Object, Type, JsonSerializerOptions, String, CancellationToken)
WriteAsJsonAsync<TValue>(HttpResponse, TValue, CancellationToken)
WriteAsJsonAsync<TValue>(HttpResponse, TValue, JsonSerializerOptions, CancellationToken)
WriteAsJsonAsync<TValue>(HttpResponse, TValue, JsonSerializerOptions, String, CancellationToken)
WriteAsJsonAsync<TValue>(HttpResponse, TValue, JsonTypeInfo<TValue>, String, CancellationToken)
WriteAsync(HttpResponse, String, CancellationToken)
WriteAsync(HttpResponse, String, Encoding, CancellationToken)
netcoreapp2.1
namespace Microsoft.AspNetCore.Http
{
public static class SendFileResponseExtensions
{
public static Task SendFileAsync(this HttpResponse response, IFileInfo file, CancellationToken cancellationToken = default);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
Upgrade Planner | 0.0 %
Reference this API |
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to netcoreapp2.1 | |
Assembly | Microsoft.AspNetCore.Http.Extensions , Version=2.1.21.0, PublicKeyToken=adb9793829ddae60 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API