Chromium Embedded Framework (CEF)  126.2.0+g5c56e98+chromium-126.0.6478.62
CefResolveCallback Class Referenceabstract

Callback interface for CefRequestContext::ResolveHost. More...

#include "include/cef_request_context.h"

Inheritance diagram for CefResolveCallback:
CefBaseRefCounted

Public Member Functions

virtual void OnResolveCompleted (cef_errorcode_t result, const std::vector< CefString > &resolved_ips)=0
 Called on the UI thread after the ResolveHost request has completed. 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 interface for CefRequestContext::ResolveHost.

Member Function Documentation

◆ OnResolveCompleted()

virtual void CefResolveCallback::OnResolveCompleted ( cef_errorcode_t  result,
const std::vector< CefString > &  resolved_ips 
)
pure virtual

Called on the UI thread after the ResolveHost request has completed.

|result| will be the result code. |resolved_ips| will be the list of resolved IP addresses or empty if the resolution failed.


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