Interface IServerCommandExecutor
A server command executor.
Namespace: FubarDev.FtpServer.ServerCommands
Assembly: FubarDev.FtpServer.dll
Syntax
public interface IServerCommandExecutor
Methods
| Improve this Doc View SourceExecuteAsync(IServerCommand, CancellationToken)
Execute the given server command.
Declaration
Task ExecuteAsync(IServerCommand serverCommand, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IServerCommand | serverCommand | The server command to execute. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task | The task. |