# Class TCefRequestRef

Description
Hierarchy
Methods

## Unit

uCEFRequest

## Declaration

`type TCefRequestRef = class(TCefBaseRefCountedRef, ICefRequest)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefRequestRef

## Overview

### Methods

Protected | `function IsReadOnly: Boolean;`
Protected | `function GetUrl: ustring;`
Protected | `function GetMethod: ustring;`
Protected | `function GetPostData: ICefPostData;`
Protected | `procedure GetHeaderMap(const HeaderMap: ICefStringMultimap);`
Protected | `procedure SetUrl(const value: ustring);`
Protected | `procedure SetMethod(const value: ustring);`
Protected | `procedure SetReferrer(const referrerUrl: ustring; policy: TCefReferrerPolicy);`
Protected | `function GetReferrerUrl: ustring;`
Protected | `function GetReferrerPolicy: TCefReferrerPolicy;`
Protected | `procedure SetPostData(const value: ICefPostData);`
Protected | `procedure SetHeaderMap(const HeaderMap: ICefStringMultimap);`
Protected | `function GetHeaderByName(const name: ustring): ustring;`
Protected | `procedure SetHeaderByName(const name, value: ustring; overwrite: boolean);`
Protected | `function GetFlags: TCefUrlRequestFlags;`
Protected | `procedure SetFlags(flags: TCefUrlRequestFlags);`
Protected | `function GetFirstPartyForCookies: ustring;`
Protected | `procedure SetFirstPartyForCookies(const url: ustring);`
Protected | `procedure Assign(const url, method: ustring; const postData: ICefPostData; const headerMap: ICefStringMultimap);`
Protected | `function GetResourceType: TCefResourceType;`
Protected | `function GetTransitionType: TCefTransitionType;`
Protected | `function GetIdentifier: UInt64;`
Public | `class function UnWrap(data: Pointer): ICefRequest;`
Public | `class function New: ICefRequest;`

## Description

### Methods

Protected | `function IsReadOnly: Boolean;`
This item has no description. Showing description inherited from ICefRequest.IsReadOnly. Returns true (1) if this object is read-only.

Protected | `function GetUrl: ustring;`
This item has no description. Showing description inherited from ICefRequest.GetUrl. Get the fully qualified URL.

Protected | `function GetMethod: ustring;`
This item has no description. Showing description inherited from ICefRequest.GetMethod. Get the request function type. The value will default to POST if post data is provided and GET otherwise.

Protected | `function GetPostData: ICefPostData;`
This item has no description. Showing description inherited from ICefRequest.GetPostData. Get the post data.

Protected | `procedure GetHeaderMap(const HeaderMap: ICefStringMultimap);`
This item has no description. Showing description inherited from ICefRequest.GetHeaderMap. Get the header values. Will not include the Referer value if any.

Protected | `procedure SetUrl(const value: ustring);`
This item has no description. Showing description inherited from ICefRequest.SetUrl. Set the fully qualified URL.

Protected | `procedure SetMethod(const value: ustring);`
This item has no description. Showing description inherited from ICefRequest.SetMethod. Set the request function type.

Protected | `procedure SetReferrer(const referrerUrl: ustring; policy: TCefReferrerPolicy);`
This item has no description. Showing description inherited from ICefRequest.SetReferrer. 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.

Protected | `function GetReferrerUrl: ustring;`
This item has no description. Showing description inherited from ICefRequest.GetReferrerUrl. Get the referrer URL.

Protected | `function GetReferrerPolicy: TCefReferrerPolicy;`
This item has no description. Showing description inherited from ICefRequest.GetReferrerPolicy. Get the referrer policy.

Protected | `procedure SetPostData(const value: ICefPostData);`
This item has no description. Showing description inherited from ICefRequest.SetPostData. Set the post data.

Protected | `procedure SetHeaderMap(const HeaderMap: ICefStringMultimap);`
This item has no description. Showing description inherited from ICefRequest.SetHeaderMap. Set the header values. If a Referer value exists in the header map it will be removed and ignored.

Protected | `function GetHeaderByName(const name: ustring): ustring;`
This item has no description. Showing description inherited from ICefRequest.GetHeaderByName. 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.

Protected | `procedure SetHeaderByName(const name, value: ustring; overwrite: boolean);`
This item has no description. Showing description inherited from ICefRequest.SetHeaderByName. 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.

Protected | `function GetFlags: TCefUrlRequestFlags;`
This item has no description. Showing description inherited from ICefRequest.GetFlags. Get the flags used in combination with ICefUrlRequest. See TCefUrlRequestFlags for supported values.

Protected | `procedure SetFlags(flags: TCefUrlRequestFlags);`
This item has no description. Showing description inherited from ICefRequest.SetFlags. Set the flags used in combination with ICefUrlRequest. See TCefUrlRequestFlags for supported values.

Protected | `function GetFirstPartyForCookies: ustring;`
This item has no description. Showing description inherited from ICefRequest.GetFirstPartyForCookies. Get the URL to the first party for cookies used in combination with ICefUrlRequest.

Protected | `procedure SetFirstPartyForCookies(const url: ustring);`
This item has no description. Showing description inherited from ICefRequest.SetFirstPartyForCookies. Set the URL to the first party for cookies used in combination with ICefUrlRequest.

Protected | `procedure Assign(const url, method: ustring; const postData: ICefPostData; const headerMap: ICefStringMultimap);`
This item has no description. Showing description inherited from ICefRequest.Assign. Set all values at one time. This method corresponds to TCefRequest.set_ and cef_request_t.set

Protected | `function GetResourceType: TCefResourceType;`
This item has no description. Showing description inherited from ICefRequest.GetResourceType. Get the resource type for this request. Only available in the browser process.

Protected | `function GetTransitionType: TCefTransitionType;`
This item has no description. Showing description inherited from ICefRequest.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.

Protected | `function GetIdentifier: UInt64;`
This item has no description. Showing description inherited from ICefRequest.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.

Public | `class function UnWrap(data: Pointer): ICefRequest;`
This item has no description.

Public | `class function New: ICefRequest;`
This item has no description.

Generated by PasDoc 1.0.4.