Table of Contents

Class CookieJarDB

Namespace
Soup
Assembly
Soup-3.0.dll
public sealed class CookieJarDB : CookieJar, Initable, SessionFeature, NativeObject, IDisposable, GTypeProvider, InstanceFactory
Inheritance
CookieJarDB
Implements
Inherited Members

Constructors

CookieJarDB(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 CookieJarDB(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

CookieJarDB(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected CookieJarDB(CreationData data)

Parameters

data CreationData

CookieJarDB(CookieJarDBHandle)

protected CookieJarDB(CookieJarDBHandle handle)

Parameters

handle CookieJarDBHandle

Fields

FilenamePropertyDefinition

public static readonly Property<string?, CookieJarDB> FilenamePropertyDefinition

Field Value

Property<string, CookieJarDB>

MaxSizePropertyDefinition

public static readonly Property<ulong, CookieJarDB> MaxSizePropertyDefinition

Field Value

Property<ulong, CookieJarDB>

Properties

Filename

public string? Filename { get; }

Property Value

string

MaxSize

public ulong MaxSize { get; }

Property Value

ulong

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetMaxSize()

[Version("3.8")]
public ulong GetMaxSize()

Returns

ulong

Init(Cancellable?)

[Version("2.22")]
public bool Init(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

bool

Exceptions

GException

Throws a GException in case of an error.

New(string, bool)

public static CookieJarDB New(string filename, bool readOnly)

Parameters

filename string
readOnly bool

Returns

CookieJarDB

NewFromPointer(nint, bool)

Creates a new managed CookieJarDB instance for a given pointer.

public static CookieJarDB NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

CookieJarDB

NewWithError(string, bool)

[Version("3.8")]
public static CookieJarDB NewWithError(string filename, bool readOnly)

Parameters

filename string
readOnly bool

Returns

CookieJarDB

NewWithProperties(ConstructArgument[])

Creates a new CookieJarDB and sets the properties specified by the construct arguments.

public static CookieJarDB NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

CookieJarDB

SetMaxSize(ulong)

[Version("3.8")]
public bool SetMaxSize(ulong maxSize)

Parameters

maxSize ulong

Returns

bool

Exceptions

GException

Throws a GException in case of an error.