C# Class AngleSharp.Io.Network.FtpRequester

Requester to perform ftp:// requests.
Inheritance: IRequester
Afficher le fichier Open project: AngleSharp/AngleSharp.Io Class Usage Examples

Méthodes publiques

Méthode Description
RequestAsync ( IRequest request, CancellationToken cancel ) : Task

Performs an asynchronous request that can be cancelled.

SupportsProtocol ( String protocol ) : System.Boolean

Checks if the given protocol is supported.

Method Details

RequestAsync() public méthode

Performs an asynchronous request that can be cancelled.
public RequestAsync ( IRequest request, CancellationToken cancel ) : Task
request IRequest The options to consider.
cancel System.Threading.CancellationToken The token for cancelling the task.
Résultat Task

SupportsProtocol() public méthode

Checks if the given protocol is supported.
public SupportsProtocol ( String protocol ) : System.Boolean
protocol String The protocol to check for, e.g. ftp.
Résultat System.Boolean