Property | Type | Description | |
---|---|---|---|
AddExtensions | void | ||
CreateEncryptedStream | Task |
||
CreateResponseSocket | Task |
||
FindCommandHandler | Tuple |
||
OnClosed | void | ||
ProcessMessage | Task | ||
ProcessMessages | Task | ||
Write | void |
Method | Description | |
---|---|---|
Close ( ) : void |
Closes the connection
|
|
Dispose ( ) : void | ||
FtpConnection ( [ server, [ socket, [ encoding ) : System |
Initializes a new instance of the FtpConnection class.
|
|
Start ( ) : void |
Starts processing of messages for this connection
|
|
WriteAsync ( [ response, |
Writes a FTP response to a client
|
Method | Description | |
---|---|---|
AddExtensions ( IEnumerable |
||
CreateEncryptedStream ( [ unencryptedStream ) : Task |
||
CreateResponseSocket ( ) : Task |
||
FindCommandHandler ( |
||
OnClosed ( ) : void | ||
ProcessMessage ( |
||
ProcessMessages ( ) : Task | ||
Write ( [ response ) : void |
Writes a FTP response to a client
|
public FtpConnection ( [ server, [ socket, [ encoding ) : System | ||
server | [ | The server this connection belongs to |
socket | [ | The socket to use to communicate with the client |
encoding | [ | The encoding to use for the LIST/NLST commands |
return | System |
public WriteAsync ( [ response, |
||
response | [ | The response to write to the client |
cancellationToken | The cancellation token | |
return | Task |