Show / Hide Table of Contents

    Class FtpResponse

    FTP response.

    Inheritance
    Object
    FtpResponse
    Implements
    IFtpResponse
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: FubarDev.FtpServer
    Assembly: FubarDev.FtpServer.Abstractions.dll
    Syntax
    public class FtpResponse : IFtpResponse

    Constructors

    | Improve this Doc View Source

    FtpResponse(SecurityActionResult, Nullable<String>)

    Initializes a new instance of the FtpResponse class.

    Declaration
    public FtpResponse(SecurityActionResult code, string? message)
    Parameters
    Type Name Description
    SecurityActionResult code

    The response code.

    Nullable<String> message

    The response message.

    | Improve this Doc View Source

    FtpResponse(Int32, Nullable<String>)

    Initializes a new instance of the FtpResponse class.

    Declaration
    public FtpResponse(int code, string? message)
    Parameters
    Type Name Description
    Int32 code

    The response code.

    Nullable<String> message

    The response message.

    Properties

    | Improve this Doc View Source

    AfterWriteAction

    Gets or sets the async action to execute after sending the response to the client.

    Declaration
    [Obsolete("Use a custom server command.")]
    public FtpResponseAfterWriteAsyncDelegate? AfterWriteAction { get; set; }
    Property Value
    Type Description
    Nullable<FtpResponseAfterWriteAsyncDelegate>
    | Improve this Doc View Source

    Code

    Declaration
    public int Code { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Message

    Gets the response message.

    Declaration
    public string? Message { get; }
    Property Value
    Type Description
    Nullable<String>

    Methods

    | Improve this Doc View Source

    GetNextLineAsync(Nullable<Object>, CancellationToken)

    Declaration
    public Task<FtpResponseLine> GetNextLineAsync(object? token, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    Nullable<Object> token
    CancellationToken cancellationToken
    Returns
    Type Description
    Task<FtpResponseLine>
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Implements

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