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