Class FtpServerBuilderExtensionsForChecks
Extension methods for IFtpServerBuilder.
Inherited Members
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.dll
Syntax
public static class FtpServerBuilderExtensionsForChecks
Methods
| Improve this Doc View SourceDisableChecks(IFtpServerBuilder)
Remove all connection-related checks.
Declaration
public static IFtpServerBuilder DisableChecks(this IFtpServerBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IFtpServerBuilder | builder | The FTP server builder. |
Returns
Type | Description |
---|---|
IFtpServerBuilder | The same FTP server builder. |
DisableConnectionCheck(IFtpServerBuilder)
Removes check for the connections that tests whether the underlying TCP connection is still established.
Declaration
public static IFtpServerBuilder DisableConnectionCheck(this IFtpServerBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IFtpServerBuilder | builder | The FTP server builder. |
Returns
Type | Description |
---|---|
IFtpServerBuilder | The same FTP server builder. |
DisableIdleCheck(IFtpServerBuilder)
Removes the idle check for the connections.
Declaration
public static IFtpServerBuilder DisableIdleCheck(this IFtpServerBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IFtpServerBuilder | builder | The FTP server builder. |
Returns
Type | Description |
---|---|
IFtpServerBuilder | The same FTP server builder. |
EnableConnectionCheck(IFtpServerBuilder)
Adds check for the connections that tests whether the underlying TCP connection is still established.
Declaration
public static IFtpServerBuilder EnableConnectionCheck(this IFtpServerBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IFtpServerBuilder | builder | The FTP server builder. |
Returns
Type | Description |
---|---|
IFtpServerBuilder | The same FTP server builder. |
EnableDefaultChecks(IFtpServerBuilder)
Adds the default checks for the connection.
Declaration
public static IFtpServerBuilder EnableDefaultChecks(this IFtpServerBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IFtpServerBuilder | builder | The FTP server builder. |
Returns
Type | Description |
---|---|
IFtpServerBuilder | The same FTP server builder. |
EnableIdleCheck(IFtpServerBuilder)
Adds an idle check for the connections.
Declaration
public static IFtpServerBuilder EnableIdleCheck(this IFtpServerBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
IFtpServerBuilder | builder | The FTP server builder. |
Returns
Type | Description |
---|---|
IFtpServerBuilder | The same FTP server builder. |