Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 1123
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(default)
Class CefRequest

CefBase
   |
   +--CefRequest

   in cef_request.h

class CefRequest
extends CefBase

Class used to represent a web request. The methods of this class may be called on any thread.


Inner Classes, Typedefs, and Enums
typedef CefRequest::HeaderMap
          
typedef CefRequest::RequestFlags
          
 
Method Summary
 static CefRefPtr< CefRequest > CreateRequest()
          Create a new CefRequest object.
 virtual CefString GetFirstPartyForCookies()= 0
          Set the URL to the first party for cookies used in combination with CefWebURLRequest.
 virtual CefRequest::RequestFlags GetFlags()= 0
          Get the flags used in combination with CefWebURLRequest.
 virtual void GetHeaderMap( CefRequest::HeaderMap& headerMap )= 0
          Get the header values.
 virtual CefString GetMethod()= 0
          Get the request method type.
 virtual CefRefPtr< CefPostData > GetPostData()= 0
          Get the post data.
 virtual CefString GetURL()= 0
          Get the fully qualified URL.
 virtual void Set( const CefString& url, const CefString& method, CefRefPtr< CefPostData > postData, const CefRequest::HeaderMap& headerMap )= 0
          Set all values at one time.
 virtual void SetFirstPartyForCookies( const CefString& url )= 0
          Get the URL to the first party for cookies used in combination with CefWebURLRequest.
 virtual void SetFlags( CefRequest::RequestFlags flags )= 0
          Set the flags used in combination with CefWebURLRequest.
 virtual void SetHeaderMap( const CefRequest::HeaderMap& headerMap )= 0
          Set the header values.
 virtual void SetMethod( const CefString& method )= 0
          Set the request method type.
 virtual void SetPostData( CefRefPtr< CefPostData > postData )= 0
          Set the post data.
 virtual void SetURL( const CefString& url )= 0
          Set the fully qualified URL.
   
Methods inherited from class CefBase
AddRef, Release, GetRefCt
 

Method Detail

CreateRequest

public static CefRefPtr< CefRequest > CreateRequest();
Create a new CefRequest object.

GetFirstPartyForCookies

public virtual CefString GetFirstPartyForCookies()= 0;
Set the URL to the first party for cookies used in combination with CefWebURLRequest.

GetFlags

public virtual CefRequest::RequestFlags GetFlags()= 0;
Get the flags used in combination with CefWebURLRequest.

GetHeaderMap

public virtual void GetHeaderMap( CefRequest::HeaderMap& headerMap )= 0;
Get the header values.

GetMethod

public virtual CefString GetMethod()= 0;
Get the request method type. The value will default to POST if post data is provided and GET otherwise.

GetPostData

public virtual CefRefPtr< CefPostData > GetPostData()= 0;
Get the post data.

GetURL

public virtual CefString GetURL()= 0;
Get the fully qualified URL.

Set

public virtual void Set( const CefString& url, const CefString& method, CefRefPtr< CefPostData > postData, const CefRequest::HeaderMap& headerMap )= 0;
Set all values at one time.

SetFirstPartyForCookies

public virtual void SetFirstPartyForCookies( const CefString& url )= 0;
Get the URL to the first party for cookies used in combination with CefWebURLRequest.

SetFlags

public virtual void SetFlags( CefRequest::RequestFlags flags )= 0;
Set the flags used in combination with CefWebURLRequest.

SetHeaderMap

public virtual void SetHeaderMap( const CefRequest::HeaderMap& headerMap )= 0;
Set the header values.

SetMethod

public virtual void SetMethod( const CefString& method )= 0;
Set the request method type.

SetPostData

public virtual void SetPostData( CefRefPtr< CefPostData > postData )= 0;
Set the post data.

SetURL

public virtual void SetURL( const CefString& url )= 0;
Set the fully qualified URL.

 Overview   Project   Class   Tree   Index 
CEF C++ API Docs - Revision 1123
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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