Table of Contents

Class Cache

Namespace
Soup.Internal
Assembly
Soup-3.0.dll
public class Cache
Inheritance
Cache
Inherited Members

Methods

Clear(IntPtr)

Calls native method soup_cache_clear.

public static extern void Clear(IntPtr cache)

Parameters

cache IntPtr

Transfer ownership: None Nullable: False

Dump(IntPtr)

Calls native method soup_cache_dump.

public static extern void Dump(IntPtr cache)

Parameters

cache IntPtr

Transfer ownership: None Nullable: False

Flush(IntPtr)

Calls native method soup_cache_flush.

public static extern void Flush(IntPtr cache)

Parameters

cache IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function soup_cache_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMaxSize(IntPtr)

Calls native method soup_cache_get_max_size.

public static extern uint GetMaxSize(IntPtr cache)

Parameters

cache IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

Load(IntPtr)

Calls native method soup_cache_load.

public static extern void Load(IntPtr cache)

Parameters

cache IntPtr

Transfer ownership: None Nullable: False

New(NullableUtf8StringHandle, CacheType)

Calls native constructor soup_cache_new.

public static extern IntPtr New(NullableUtf8StringHandle cacheDir, CacheType cacheType)

Parameters

cacheDir NullableUtf8StringHandle

Transfer ownership: None Nullable: True

cacheType CacheType

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetMaxSize(IntPtr, uint)

Calls native method soup_cache_set_max_size.

public static extern void SetMaxSize(IntPtr cache, uint maxSize)

Parameters

cache IntPtr

Transfer ownership: None Nullable: False

maxSize uint

Transfer ownership: None Nullable: False