Interface IFtpMiddleware
FTP middleware.
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IFtpMiddleware
Methods
| Improve this Doc View SourceInvokeAsync(FtpContext, FtpRequestDelegate)
Function that gets invoked for the middleware.
Declaration
Task InvokeAsync(FtpContext context, FtpRequestDelegate next)
Parameters
Type | Name | Description |
---|---|---|
FtpContext | context | The context for the current FTP command. |
FtpRequestDelegate | next | The next middleware. |
Returns
Type | Description |
---|---|
Task | The task. |