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