Delegate FtpResponseAfterWriteAsyncDelegate
Delegate to be called after a response was written.
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
[Obsolete("Use a custom server command.")]
public delegate Task<IFtpResponse? > FtpResponseAfterWriteAsyncDelegate(IFtpConnection connection, CancellationToken cancellationToken);
Parameters
| Type | Name | Description |
|---|---|---|
| IFtpConnection | connection | The FTP connection. |
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task<Nullable<IFtpResponse>> | The task. |