Click or drag to resize
CfxReadResponseEventArgs Class

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

Read response data. If data is available immediately copy up to |BytesToRead| bytes into |DataOut|, set |BytesRead| to the number of bytes copied, and return true (1). To read the data at a later time set |BytesRead| to 0, return true (1) and call CfxCallback.Continue() when the data is available. To indicate response completion return false (0).
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    ChromiumCfxEventArgs
      Chromium.EventCfxReadResponseEventArgs

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

The CfxReadResponseEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyBytesRead
Set the BytesRead out parameter for the ReadResponse callback.
Public propertyBytesToRead
Get the BytesToRead parameter for the ReadResponse callback.
Public propertyCallback
Get the Callback parameter for the ReadResponse callback.
Public propertyDataOut
Get the DataOut parameter for the ReadResponse callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the ReadResponse 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_resource_handler_capi.h.
See Also