C# 클래스 AngleSharp.Io.Network.FileRequester

Requester to perform file:// requests.
상속: IRequester
파일 보기 프로젝트 열기: AngleSharp/AngleSharp.Io

공개 메소드들

메소드 설명
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