Class FeatCommandHandler
Implements the FEAT
command.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("FEAT", false, false)]
public class FeatCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Constructors
| Improve this Doc View SourceFeatCommandHandler(IFeatureInfoProvider, IFtpCommandHandlerProvider)
Initializes a new instance of the FeatCommandHandler class.
Declaration
public FeatCommandHandler(IFeatureInfoProvider featureInfoProvider, IFtpCommandHandlerProvider commandHandlerProvider)
Parameters
Type | Name | Description |
---|---|---|
IFeatureInfoProvider | featureInfoProvider | Provider for feature information. |
IFtpCommandHandlerProvider | commandHandlerProvider | The FTP command handler provider. |
Methods
| Improve this Doc View SourceProcess(FtpCommand, CancellationToken)
Declaration
public override Task<IFtpResponse? > Process(FtpCommand command, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
FtpCommand | command | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<Nullable<IFtpResponse>> |