Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefResourceManager::Request

base::RefCountedThreadSafe
   |
   +--CefResourceManager::Request

   in cef_resource_manager.h

class CefResourceManager::Request
extends base::RefCountedThreadSafe

Object representing a request. Each request object is used for a single call to Provider::OnRequest and will become detached (meaning the callbacks will no longer trigger) after Request::Continue or Request::Stop is called. A request passed to Provider::OnRequestCanceled will already have been detached. The methods of this class may be called on any browser process thread.


Constructor Summary
private  explicit Request( scoped_ptr< RequestState > state )
          
 
Method Summary
 CefRefPtr< CefBrowser > browser() const
          Returns the CefBrowser associated with this request.
 void Continue( CefRefPtr< CefResourceHandler > handler )
          Continue handling the request.
 CefRefPtr< CefFrame > frame() const
          Returns the CefFrame associated with this request.
 const CefResourceManager::MimeTypeResolver& mime_type_resolver() const
          Returns the current mime type resolver.
 CefRefPtr< CefRequest > request() const
          Returns the CefRequest associated with this request.
 void Stop()
          Stop handling the request.
 std::string url() const
          Returns the URL associated with this request.
 const CefResourceManager::UrlFilter& url_filter() const
          Returns the current URL filter.
 

Constructor Detail

Request

private explicit Request( scoped_ptr< RequestState > state );


Method Detail

browser

public CefRefPtr< CefBrowser > browser() const;
Returns the CefBrowser associated with this request.

Continue

public void Continue( CefRefPtr< CefResourceHandler > handler );
Continue handling the request. If |handler| is non-NULL then no additional providers will be called and the |handler| value will be returned via CefResourceManager::GetResourceHandler. If |handler| is NULL then the next provider in order, if any, will be called. If there are no additional providers then NULL will be returned via CefResourceManager:: GetResourceHandler.

frame

public CefRefPtr< CefFrame > frame() const;
Returns the CefFrame associated with this request.

mime_type_resolver

public const CefResourceManager::MimeTypeResolver& mime_type_resolver() const;
Returns the current mime type resolver.

request

public CefRefPtr< CefRequest > request() const;
Returns the CefRequest associated with this request.

Stop

public void Stop();
Stop handling the request. No additional providers will be called and NULL will be returned via CefResourceManager::GetResourceHandler.

url

public std::string url() const;
Returns the URL associated with this request. The returned value will be fully qualified but will not contain query or fragment components. It will already have been passed through the URL filter.

url_filter

public const CefResourceManager::UrlFilter& url_filter() const;
Returns the current URL filter.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt