Click or drag to resize

RuleSet Class

Version 130.1.90
Corresponds to SpeculationRuleSet
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainEntityBase
    CefSharp.DevTools.PreloadRuleSet

Namespace: CefSharp.DevTools.Preload
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public class RuleSet : DevToolsDomainEntityBase

The RuleSet type exposes the following members.

Constructors
 NameDescription
Public methodRuleSetInitializes a new instance of the RuleSet class
Top
Properties
 NameDescription
Public propertyBackendNodeId A speculation rule set is either added through an inline `<script>` tag or through an external resource via the 'Speculation-Rules' HTTP header. For the first case, we include the BackendNodeId of the relevant `<script>` tag. For the second case, we include the external URL where the rule set was loaded from, and also RequestId if Network domain is enabled. See also: - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header
Public propertyErrorMessage TODO(https://crbug.com/1425354): Replace this property with structured error.
Public propertyErrorType Error information `errorMessage` is null iff `errorType` is null.
Public propertyId Id
Public propertyLoaderId Identifies a document which the rule set is associated with.
Public propertyRequestId RequestId
Public propertySourceText Source text of JSON representing the rule set. If it comes from `<script>` tag, it is the textContent of the node. Note that it is a JSON for valid case. See also: - https://wicg.github.io/nav-speculation/speculation-rules.html - https://github.com/WICG/nav-speculation/blob/main/triggers.md
Public propertyUrl Url
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToDictionary
(Inherited from DevToolsDomainEntityBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also