type ICefRequest = interface(ICefBaseRefCounted)
Interface used to represent a web request. The functions of this interface may be called on any thread.
UNKNOWN
<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/cef_request_capi.h">CEF source file: /include/capi/cef_request_capi.h (cef_request_t))
| Public | function IsReadOnly: Boolean; |
| Public | function GetUrl: ustring; |
| Public | procedure SetUrl(const value: ustring); |
| Public | function GetMethod: ustring; |
| Public | procedure SetMethod(const value: ustring); |
| Public | procedure SetReferrer(const referrerUrl: ustring; policy: TCefReferrerPolicy); |
| Public | function GetReferrerUrl: ustring; |
| Public | function GetReferrerPolicy: TCefReferrerPolicy; |
| Public | function GetPostData: ICefPostData; |
| Public | procedure SetPostData(const value: ICefPostData); |
| Public | procedure GetHeaderMap(const HeaderMap: ICefStringMultimap); |
| Public | procedure SetHeaderMap(const HeaderMap: ICefStringMultimap); |
| Public | function GetHeaderByName(const name: ustring): ustring; |
| Public | procedure SetHeaderByName(const name, value: ustring; overwrite: boolean); |
| Public | function GetFlags: TCefUrlRequestFlags; |
| Public | procedure SetFlags(flags: TCefUrlRequestFlags); |
| Public | function GetFirstPartyForCookies: ustring; |
| Public | procedure SetFirstPartyForCookies(const url: ustring); |
| Public | procedure Assign(const url, method: ustring; const postData: ICefPostData; const headerMap: ICefStringMultimap); |
| Public | function GetResourceType: TCefResourceType; |
| Public | function GetTransitionType: TCefTransitionType; |
| Public | function GetIdentifier: UInt64; |
| Public | property Url : ustring read GetUrl write SetUrl; |
| Public | property Method : ustring read GetMethod write SetMethod; |
| Public | property ReferrerUrl : ustring read GetReferrerUrl; |
| Public | property ReferrerPolicy : TCefReferrerPolicy read GetReferrerPolicy; |
| Public | property PostData : ICefPostData read GetPostData write SetPostData; |
| Public | property Flags : TCefUrlRequestFlags read GetFlags write SetFlags; |
| Public | property FirstPartyForCookies : ustring read GetFirstPartyForCookies write SetFirstPartyForCookies; |
| Public | property ResourceType : TCefResourceType read GetResourceType; |
| Public | property TransitionType : TCefTransitionType read GetTransitionType; |
| Public | property Identifier : UInt64 read GetIdentifier; |
| Public | function IsReadOnly: Boolean; |
|
Returns true (1) if this object is read-only. Attributes
| |
| Public | function GetUrl: ustring; |
|
Get the fully qualified URL. | |
| Public | procedure SetUrl(const value: ustring); |
|
Set the fully qualified URL. | |
| Public | function GetMethod: ustring; |
|
Get the request function type. The value will default to POST if post data is provided and GET otherwise. | |
| Public | procedure SetMethod(const value: ustring); |
|
Set the request function type. | |
| Public | procedure SetReferrer(const referrerUrl: ustring; policy: TCefReferrerPolicy); |
|
Set the referrer URL and policy. If non-NULL the referrer URL must be fully qualified with an HTTP or HTTPS scheme component. Any username, password or ref component will be removed. | |
| Public | function GetReferrerUrl: ustring; |
|
Get the referrer URL. | |
| Public | function GetReferrerPolicy: TCefReferrerPolicy; |
|
Get the referrer policy. | |
| Public | function GetPostData: ICefPostData; |
|
Get the post data. | |
| Public | procedure SetPostData(const value: ICefPostData); |
|
Set the post data. | |
| Public | procedure GetHeaderMap(const HeaderMap: ICefStringMultimap); |
|
Get the header values. Will not include the Referer value if any. | |
| Public | procedure SetHeaderMap(const HeaderMap: ICefStringMultimap); |
|
Set the header values. If a Referer value exists in the header map it will be removed and ignored. | |
| Public | function GetHeaderByName(const name: ustring): ustring; |
|
Returns the first header value for |name| or an NULL string if not found. Will not return the Referer value if any. Use GetHeaderMap instead if |name| might have multiple values. | |
| Public | procedure SetHeaderByName(const name, value: ustring; overwrite: boolean); |
|
Set the header |name| to |value|. If |overwrite| is true (1) any existing values will be replaced with the new value. If |overwrite| is false (0) any existing values will not be overwritten. The Referer value cannot be set using this function. | |
| Public | function GetFlags: TCefUrlRequestFlags; |
|
Get the flags used in combination with ICefUrlRequest. See TCefUrlRequestFlags for supported values. | |
| Public | procedure SetFlags(flags: TCefUrlRequestFlags); |
|
Set the flags used in combination with ICefUrlRequest. See TCefUrlRequestFlags for supported values. | |
| Public | function GetFirstPartyForCookies: ustring; |
|
Get the URL to the first party for cookies used in combination with ICefUrlRequest. | |
| Public | procedure SetFirstPartyForCookies(const url: ustring); |
|
Set the URL to the first party for cookies used in combination with ICefUrlRequest. | |
| Public | procedure Assign(const url, method: ustring; const postData: ICefPostData; const headerMap: ICefStringMultimap); |
|
Set all values at one time. This method corresponds to TCefRequest.set_ and cef_request_t.set | |
| Public | function GetResourceType: TCefResourceType; |
|
Get the resource type for this request. Only available in the browser process. | |
| Public | function GetTransitionType: TCefTransitionType; |
|
Get the transition type for this request. Only available in the browser process and only applies to requests that represent a main frame or sub- frame navigation. | |
| Public | function GetIdentifier: UInt64; |
|
Returns the globally unique identifier for this request or 0 if not specified. Can be used by ICefResourceRequestHandler implementations in the browser process to track a single request across multiple callbacks. | |
| Public | property Url : ustring read GetUrl write SetUrl; |
|
Get the fully qualified URL. | |
| Public | property Method : ustring read GetMethod write SetMethod; |
|
Get the request function type. The value will default to POST if post data is provided and GET otherwise. | |
| Public | property ReferrerUrl : ustring read GetReferrerUrl; |
|
Get the referrer URL. | |
| Public | property ReferrerPolicy : TCefReferrerPolicy read GetReferrerPolicy; |
|
Get the referrer policy. | |
| Public | property PostData : ICefPostData read GetPostData write SetPostData; |
|
Get the post data. | |
| Public | property Flags : TCefUrlRequestFlags read GetFlags write SetFlags; |
|
Get the flags used in combination with ICefUrlRequest. See TCefUrlRequestFlags for supported values. | |
| Public | property FirstPartyForCookies : ustring read GetFirstPartyForCookies write SetFirstPartyForCookies; |
|
Get the URL to the first party for cookies used in combination with ICefUrlRequest. | |
| Public | property ResourceType : TCefResourceType read GetResourceType; |
|
Get the resource type for this request. Only available in the browser process. | |
| Public | property TransitionType : TCefTransitionType read GetTransitionType; |
|
Get the transition type for this request. Only available in the browser process and only applies to requests that represent a main frame or sub- frame navigation. | |
| Public | property Identifier : UInt64 read GetIdentifier; |
|
Returns the globally unique identifier for this request or 0 if not specified. Can be used by ICefResourceRequestHandler implementations in the browser process to track a single request across multiple callbacks. | |