Delegate ConnectionInitAsyncDelegate
Async delegate to initialize a connection.
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public delegate Task ConnectionInitAsyncDelegate(IFtpConnection connection, CancellationToken cancellationToken);
Parameters
| Type | Name | Description |
|---|---|---|
| IFtpConnection | connection | The connection to initialize. |
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task | The task for the asynchronous operation. |