Interface IFtpControlStreamAdapter
Adapter for the control stream.
Namespace: FubarDev.FtpServer
Assembly: FubarDev.FtpServer.Abstractions.dll
Syntax
public interface IFtpControlStreamAdapter
  Methods
| Improve this Doc View SourceWrapAsync(Stream, CancellationToken)
Wraps the control stream.
Declaration
Task<Stream> WrapAsync(Stream stream, CancellationToken cancellationToken)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Stream | stream | The stream to wrap.  | 
      
| CancellationToken | cancellationToken | The cancellation token.  | 
      
Returns
| Type | Description | 
|---|---|
| Task<Stream> | The task returning the new stream.  |