Click or drag to resize
CfxOnBeforeResourceLoadEventArgs Class

[This is preliminary documentation and is subject to change.]

Called on the IO thread before a resource request is loaded. The |Request| object may be modified. Return RV_CONTINUE to continue the request immediately. Return RV_CONTINUE_ASYNC and call CfxRequestCallback:: cont() at a later time to continue or cancel the request asynchronously. Return RV_CANCEL to cancel the request immediately.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnBeforeResourceLoadEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxOnBeforeResourceLoadEventArgs : CfxEventArgs

The CfxOnBeforeResourceLoadEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBrowser
Get the Browser parameter for the OnBeforeResourceLoad callback.
Public propertyCallback
Get the Callback parameter for the OnBeforeResourceLoad callback.
Public propertyFrame
Get the Frame parameter for the OnBeforeResourceLoad callback.
Public propertyRequest
Get the Request parameter for the OnBeforeResourceLoad callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the OnBeforeResourceLoad callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_request_handler_capi.h.
See Also