Interface IPausableFtpService
Interface for an FTP service that can be paused.
Inherited Members
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IPausableFtpService : IFtpService
Properties
| Improve this Doc View SourceStatus
Gets the current status.
Declaration
FtpServiceStatus Status { get; }
Property Value
| Type | Description |
|---|---|
| FtpServiceStatus |
Methods
| Improve this Doc View SourceContinueAsync(CancellationToken)
Continues the FTP service.
Declaration
Task ContinueAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task | The task. |
PauseAsync(CancellationToken)
Pauses the FTP service.
Declaration
Task PauseAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token. |
Returns
| Type | Description |
|---|---|
| Task | The task. |