Class LangCommandHandler
Implements the LANG
command.
Inherited Members
Namespace: FubarDev.FtpServer.CommandHandlers
Assembly: FubarDev.FtpServer.Commands.dll
Syntax
[FtpCommandHandler("LANG", false, false)]
[FtpFeatureFunction("CreateFeatureString")]
public class LangCommandHandler : FtpCommandHandler, IFtpCommandHandler, IFtpCommandBase, IFeatureHost
Methods
| Improve this Doc View SourceCreateFeatureString(IFtpConnection)
Build a string to be returned by the FEAT
command handler.
Declaration
public static string CreateFeatureString(IFtpConnection connection)
Parameters
Type | Name | Description |
---|---|---|
IFtpConnection | connection | The FTP connection. |
Returns
Type | Description |
---|---|
String | The string to be returned. |
Process(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>> |