Show / Hide Table of Contents

    Interface IFtpCommandBase

    The base interface for command handlers and extensions.

    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public interface IFtpCommandBase

    Properties

    | Improve this Doc View Source

    Names

    Gets a collection of all command names for this command.

    Declaration
    [Obsolete("The mapping from name to command handler is created by using the FtpCommandHandlerAttribute.")]
    IReadOnlyCollection<string> Names { get; }
    Property Value
    Type Description
    IReadOnlyCollection<String>

    Methods

    | Improve this Doc View Source

    Process(FtpCommand, CancellationToken)

    Processes the command.

    Declaration
    Task<IFtpResponse? > Process(FtpCommand command, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    FtpCommand command

    The command to process.

    CancellationToken cancellationToken

    The cancellation token to signal command abortion.

    Returns
    Type Description
    Task<Nullable<IFtpResponse>>

    The FTP response.

    • Improve this Doc
    • View Source
    Back to top
    Copyright © 2018 Fubar Development Junker
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.