gi-webkit2-4.0.28: WebKit2 bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Structs.WebViewSessionState

Description

No description available in the introspection data.

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

ref, serialize, unref.

Getters

None.

Setters

None.

new

webViewSessionStateNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Bytes

data: a Bytes

-> m WebViewSessionState

Returns: a new WebViewSessionState, or Nothing if data doesn't contain a valid serialized WebViewSessionState.

Creates a new WebViewSessionState from serialized data.

Since: 2.12

ref

webViewSessionStateRef Source #

Atomically increments the reference count of state by one. This function is MT-safe and may be called from any thread.

Since: 2.12

serialize

webViewSessionStateSerialize Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WebViewSessionState

state: a WebViewSessionState

-> m Bytes

Returns: a Bytes containing the state serialized.

Serializes a WebViewSessionState.

Since: 2.12

unref

webViewSessionStateUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WebViewSessionState

state: a WebViewSessionState

-> m () 

Atomically decrements the reference count of state by one. If the reference count drops to 0, all memory allocated by the WebViewSessionState is released. This function is MT-safe and may be called from any thread.

Since: 2.12