Show / Hide Table of Contents

    Delegate AsyncDataConnectionDelegate

    Delegate for sending or receivung data over a data connection.

    Namespace: FubarDev.FtpServer.ServerCommands
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public delegate Task<IFtpResponse? > AsyncDataConnectionDelegate(IFtpDataConnection dataConnection, CancellationToken cancellationToken);
    Parameters
    Type Name Description
    IFtpDataConnection dataConnection

    The data connection used to send or receive the data over.

    CancellationToken cancellationToken

    The cancellation token to signal command abortion.

    Returns
    Type Description
    Task<Nullable<IFtpResponse>>

    The task with an FTP response if it should be different than the default one.

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