C# Класс AngleSharp.Io.Network.FileRequester

Requester to perform file:// requests.
Наследование: IRequester
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

RequestAsync() публичный Метод

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.
Результат Task

SupportsProtocol() публичный Метод

Checks if the given protocol is supported.
public SupportsProtocol ( String protocol ) : System.Boolean
protocol String The protocol to check for, e.g. file.
Результат System.Boolean