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

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

공개 메소드들

메소드 설명
AboutRequester ( ) : AngleSharp.Network

Creates a new about requester.

GetRoute ( String address ) : Func>

Gets the route for the given address, if any.

RequestAsync ( IRequest request, CancellationToken cancel ) : Task

Performs an asynchronous request that can be cancelled.

SetRoute ( String address, Func route ) : void

Sets the route for the given address.

SupportsProtocol ( String protocol ) : System.Boolean

Checks if the given protocol is supported.

비공개 메소드들

메소드 설명
GetAddress ( String data ) : String

메소드 상세

AboutRequester() 공개 메소드

Creates a new about requester.
public AboutRequester ( ) : AngleSharp.Network
리턴 AngleSharp.Network

GetRoute() 공개 메소드

Gets the route for the given address, if any.
public GetRoute ( String address ) : Func>
address String The address of the route to obtain.
리턴 Func>

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

SetRoute() 공개 메소드

Sets the route for the given address.
public SetRoute ( String address, Func route ) : void
address String The address of the route.
route Func The route to use.
리턴 void

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