# Class TCefResponseRef

Description
Hierarchy
Methods

## Unit

uCEFResponse

## Declaration

`type TCefResponseRef = class(TCefBaseRefCountedRef, ICefResponse)`

## Description

This item has no description.

## Hierarchy

- TInterfacedObject
- TCefBaseRefCountedRef
- TCefResponseRef

## Overview

### Methods

Protected | `function IsReadOnly: Boolean;`
Protected | `function GetError: TCefErrorCode;`
Protected | `procedure SetError(error: TCefErrorCode);`
Protected | `function GetStatus: Integer;`
Protected | `procedure SetStatus(status: Integer);`
Protected | `function GetStatusText: ustring;`
Protected | `procedure SetStatusText(const StatusText: ustring);`
Protected | `function GetMimeType: ustring;`
Protected | `procedure SetMimeType(const mimetype: ustring);`
Protected | `function GetCharset: ustring;`
Protected | `procedure SetCharset(const charset: ustring);`
Protected | `function GetHeaderByName(const name: ustring): ustring;`
Protected | `procedure SetHeaderByName(const name, value: ustring; overwrite: boolean);`
Protected | `procedure GetHeaderMap(const headerMap: ICefStringMultimap);`
Protected | `procedure SetHeaderMap(const headerMap: ICefStringMultimap);`
Protected | `function GetURL: ustring;`
Protected | `procedure SetURL(const url: ustring);`
Public | `class function UnWrap(data: Pointer): ICefResponse;`
Public | `class function New: ICefResponse;`

## Description

### Methods

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

Protected | `function GetError: TCefErrorCode;`
This item has no description. Showing description inherited from ICefResponse.GetError. Get the response error code. Returns ERR_NONE if there was no error.

Protected | `procedure SetError(error: TCefErrorCode);`
This item has no description. Showing description inherited from ICefResponse.SetError. Set the response error code. This can be used by custom scheme handlers to return errors during initial request processing.

Protected | `function GetStatus: Integer;`
This item has no description. Showing description inherited from ICefResponse.GetStatus. Get the response status code.

Protected | `procedure SetStatus(status: Integer);`
This item has no description. Showing description inherited from ICefResponse.SetStatus. Set the response status code.

Protected | `function GetStatusText: ustring;`
This item has no description. Showing description inherited from ICefResponse.GetStatusText. Get the response status text.

Protected | `procedure SetStatusText(const StatusText: ustring);`
This item has no description. Showing description inherited from ICefResponse.SetStatusText. Set the response status text.

Protected | `function GetMimeType: ustring;`
This item has no description. Showing description inherited from ICefResponse.GetMimeType. Get the response mime type.

Protected | `procedure SetMimeType(const mimetype: ustring);`
This item has no description. Showing description inherited from ICefResponse.SetMimeType. Set the response mime type.

Protected | `function GetCharset: ustring;`
This item has no description. Showing description inherited from ICefResponse.GetCharset. Get the response charset.

Protected | `procedure SetCharset(const charset: ustring);`
This item has no description. Showing description inherited from ICefResponse.SetCharset. Set the response charset.

Protected | `function GetHeaderByName(const name: ustring): ustring;`
This item has no description. Showing description inherited from ICefResponse.GetHeaderByName. Get the value for the specified response header field.

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

Protected | `procedure GetHeaderMap(const headerMap: ICefStringMultimap);`
This item has no description. Showing description inherited from ICefResponse.GetHeaderMap. Get all response header fields.

Protected | `procedure SetHeaderMap(const headerMap: ICefStringMultimap);`
This item has no description. Showing description inherited from ICefResponse.SetHeaderMap. Set all response header fields.

Protected | `function GetURL: ustring;`
This item has no description. Showing description inherited from ICefResponse.GetURL. Get the resolved URL after redirects or changed as a result of HSTS.

Protected | `procedure SetURL(const url: ustring);`
This item has no description. Showing description inherited from ICefResponse.SetURL. Set the resolved URL after redirects or changed as a result of HSTS.

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

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

Generated by PasDoc 1.0.4.