Share via


StaticFileMiddleware.Invoke(HttpContext) Method

Definition

Processes a request to determine if it matches a known file, and if so, serves it.

public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ context);
public System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext context);
member this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function Invoke (context As HttpContext) As Task

Parameters

context
HttpContext

Returns

Applies to