Click or drag to resize
CfxOnResourceResponseEventArgs Class

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

Called on the IO thread when a resource response is received. To allow the resource to load normally return false (0). To redirect or retry the resource modify |Request| (url, headers or post body) and return true (1). The |Response| object cannot be modified in this callback.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxOnResourceResponseEventArgs

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

The CfxOnResourceResponseEventArgs type exposes the following members.

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