Class ResponsePolicyDecision
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class ResponsePolicyDecision : PolicyDecision, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
ResponsePolicyDecision
- Implements
- Inherited Members
Constructors
ResponsePolicyDecision(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public ResponsePolicyDecision(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
ResponsePolicyDecision(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ResponsePolicyDecision(CreationData data)
Parameters
dataCreationData
ResponsePolicyDecision(ResponsePolicyDecisionHandle)
protected ResponsePolicyDecision(ResponsePolicyDecisionHandle handle)
Parameters
handleResponsePolicyDecisionHandle
Fields
RequestPropertyDefinition
public static readonly Property<URIRequest?, ResponsePolicyDecision> RequestPropertyDefinition
Field Value
ResponsePropertyDefinition
public static readonly Property<URIResponse?, ResponsePolicyDecision> ResponsePropertyDefinition
Field Value
Properties
Request
public URIRequest? Request { get; }
Property Value
Response
public URIResponse? Response { get; }
Property Value
Methods
GetGType()
public static Type GetGType()
Returns
GetRequest()
public URIRequest GetRequest()
Returns
GetResponse()
public URIResponse GetResponse()
Returns
IsMainFrameMainResource()
[Version("2.40")]
public bool IsMainFrameMainResource()
Returns
IsMimeTypeSupported()
[Version("2.4")]
public bool IsMimeTypeSupported()
Returns
NewFromPointer(nint, bool)
Creates a new managed ResponsePolicyDecision instance for a given pointer.
public static ResponsePolicyDecision NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ResponsePolicyDecision and sets the properties specified by the construct arguments.
public static ResponsePolicyDecision NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.