Show / Hide Table of Contents

    Interface IPasvAddressResolver

    Interface to get the options for the PASV/EPSV commands.

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

    Methods

    | Improve this Doc View Source

    GetOptionsAsync(IFtpConnection, Nullable<AddressFamily>, CancellationToken)

    Get the PASV/EPSV options.

    Declaration
    Task<PasvListenerOptions> GetOptionsAsync(IFtpConnection connection, AddressFamily? addressFamily, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    IFtpConnection connection

    The FTP connection.

    Nullable<AddressFamily> addressFamily

    The address family for the address to be selected.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task<PasvListenerOptions>

    The task returning the options.

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