Show / Hide Table of Contents

    Interface IFtpService

    Defines methods for services required to run the FTP server.

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

    Methods

    | Improve this Doc View Source

    StartAsync(CancellationToken)

    Triggered when the application host is ready to start the service.

    Declaration
    Task StartAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    Indicates that the start process has been aborted.

    Returns
    Type Description
    Task

    The task.

    | Improve this Doc View Source

    StopAsync(CancellationToken)

    Triggered when the application host is performing a graceful shutdown.

    Declaration
    Task StopAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    Indicates that the shutdown process should no longer be graceful.

    Returns
    Type Description
    Task

    The task.

    • 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.