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
Methods
BeginInvoke(HttpWebRequest, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(HttpWebRequest request, AsyncCallback callback, object @object)
Parameters
request
HttpWebRequestcallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(HttpWebRequest)
public virtual bool Invoke(HttpWebRequest request)
Parameters
request
HttpWebRequest