Interface IFtpHostSelector
Interface to select an FTP host or get the selected FTP host.
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IFtpHostSelector
Properties
| Improve this Doc View SourceSelectedHost
Gets the selected FTP host.
Declaration
IFtpHost SelectedHost { get; }
Property Value
Type | Description |
---|---|
IFtpHost |
Methods
| Improve this Doc View SourceSelectHostAsync(HostInfo, CancellationToken)
Selects the new FTP host.
Declaration
Task<IFtpResponse> SelectHostAsync(HostInfo hostInfo, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
HostInfo | hostInfo | The host to select. |
CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
Task<IFtpResponse> | The FTP response for the |