Interface IFtpCommandDispatcher
Interface for a FTP command dispatcher.
Namespace: FubarDev.FtpServer.Commands
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IFtpCommandDispatcher
Methods
| Improve this Doc View SourceDispatchAsync(FtpContext, CancellationToken)
Passes the FTP commands to the handlers.
Declaration
Task DispatchAsync(FtpContext context, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| FtpContext | context | The context for the FTP command execution. |
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task | The task. |