Table of Contents

Delegate HtmlWeb.PreRequestHandler

Namespace
HtmlAgilityPack
Assembly
HtmlAgilityPack.dll

Represents the method that will handle the PreRequest event.

public delegate bool HtmlWeb.PreRequestHandler(HttpWebRequest request)

Parameters

request HttpWebRequest
Represents the method that will handle the PreRequest event.

Returns

bool
Represents the method that will handle the PreRequest event.

Constructors

PreRequestHandler(object, nint)

public PreRequestHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(HttpWebRequest, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(HttpWebRequest request, AsyncCallback callback, object @object)

Parameters

request HttpWebRequest
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual bool EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

bool

Invoke(HttpWebRequest)

public virtual bool Invoke(HttpWebRequest request)

Parameters

request HttpWebRequest

Returns

bool