Click or drag to resize
CfxRequest Class

[This is preliminary documentation and is subject to change.]

Structure used to represent a web request. The functions of this structure may be called on any thread.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxLibraryBase
        ChromiumCfxRequest

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxRequest : CfxLibraryBase

The CfxRequest type exposes the following members.

Properties
  NameDescription
Public propertyFirstPartyForCookies
Set the URL to the first party for cookies used in combination with CfxUrlRequest. Get the URL to the first party for cookies used in combination with CfxUrlRequest.
Public propertyFlags
Get the flags used in combination with CfxUrlRequest. See CfxUrlRequestFlags for supported values. Set the flags used in combination with CfxUrlRequest. See CfxUrlRequestFlags for supported values.
Public propertyIdentifier
Returns the globally unique identifier for this request or 0 if not specified. Can be used by CfxRequestHandler implementations in the browser process to track a single request across multiple callbacks.
Public propertyIsReadOnly
Returns true (1) if this object is read-only.
Public propertyMethod
Get the request function type. The value will default to POST if post data is provided and GET otherwise. Set the request function type.
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted library struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxLibraryBase.)
Public propertyPostData
Get or set the post data.
Public propertyReferrerPolicy
Get the referrer policy.
Public propertyReferrerUrl
Get the referrer URL.
Public propertyResourceType
Get the resource type for this request. Only available in the browser process.
Public propertyTransitionType
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 propertyUrl
Get or set the fully qualified URL.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Create a new CfxRequest object.
Public methodGetHeaderMap
Get the header values. Will not include the Referer value if any.
Public methodSet
Set all values at one time.
Public methodSetHeaderMap
Set the header values. If a Referer value exists in the header map it will be removed and ignored.
Public methodSetReferrer
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.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_request_capi.h.
See Also