Chromium Embedded Framework (CEF)  122.1.5+gf09a9bc+chromium-122.0.6261.29
CefResourceReadCallback Class Referenceabstract

Callback for asynchronous continuation of CefResourceHandler::Read(). More...

#include "include/cef_resource_handler.h"

Inheritance diagram for CefResourceReadCallback:
CefBaseRefCounted

Public Member Functions

virtual void Continue (int bytes_read)=0
 Callback for asynchronous continuation of Read(). More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Callback for asynchronous continuation of CefResourceHandler::Read().

Member Function Documentation

◆ Continue()

virtual void CefResourceReadCallback::Continue ( int  bytes_read)
pure virtual

Callback for asynchronous continuation of Read().

If |bytes_read| == 0 the response will be considered complete. If |bytes_read| > 0 then Read() will be called again until the request is complete (based on either the result or the expected content length). If |bytes_read| < 0 then the request will fail and the |bytes_read| value will be treated as the error code.


The documentation for this class was generated from the following file: