Метод | Описание | |
---|---|---|
BabelFileMiddleware ( RequestDelegate next, |
Creates a new instance of the BabelFileMiddleware.
|
|
Invoke ( HttpContext context ) : System.Threading.Tasks.Task |
Processes a request to determine if it matches a known JavaScript file, and if so, transforms it via Babel and serves it
|
Метод | Описание | |
---|---|---|
CreateFileMiddleware ( IBabel babel ) : StaticFileMiddleware |
Creates the internal StaticFileMiddleware used to serve files.
|
public BabelFileMiddleware ( RequestDelegate next, |
||
next | RequestDelegate | The next middleware in the pipeline. |
options | The configuration options. | |
hostingEnv | IHostingEnvironment | The hosting environment. |
loggerFactory | ILoggerFactory | An |
Результат | System |
public Invoke ( HttpContext context ) : System.Threading.Tasks.Task | ||
context | HttpContext | ASP.NET HTTP context |
Результат | System.Threading.Tasks.Task |