Class SendResponseServerCommandHandler
Command handler for the SendResponseServerCommand.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.ServerCommandHandlers
Assembly: FubarDev.FtpServer.dll
Syntax
public class SendResponseServerCommandHandler : IServerCommandHandler<SendResponseServerCommand>
Constructors
| Improve this Doc View SourceSendResponseServerCommandHandler(IFtpConnectionAccessor, Nullable<ILogger<SendResponseServerCommandHandler>>)
Initializes a new instance of the SendResponseServerCommandHandler class.
Declaration
public SendResponseServerCommandHandler(IFtpConnectionAccessor connectionAccessor, ILogger<SendResponseServerCommandHandler>? logger = default(ILogger<SendResponseServerCommandHandler>? ))
Parameters
| Type | Name | Description |
|---|---|---|
| IFtpConnectionAccessor | connectionAccessor | The FTP connection accessor. |
| Nullable<ILogger<SendResponseServerCommandHandler>> | logger | The logger. |
Methods
| Improve this Doc View SourceExecuteAsync(SendResponseServerCommand, CancellationToken)
Declaration
public Task ExecuteAsync(SendResponseServerCommand command, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| SendResponseServerCommand | command | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |