# Class TCefRequestRef

Description
Hierarchy
Fields
Methods
Properties

## Unit

uCEFRequest

## Declaration

`type TCefRequestRef = class(TCefBaseRefCountedRef, ICefRequest)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefRequestRef

## Overview

### Methods

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

## Description

### Methods

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

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

| `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.

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

| `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.

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

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

| `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.

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

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

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

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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.

| `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

| `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.

| `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.

| `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.

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

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

Generated by PasDoc 0.16.0-snapshot.