gi-webkit2-4.0.25: WebKit2 bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Structs.WebViewSessionState

Description

No description available in the introspection data.

Synopsis

Exported types

Methods

Overloaded methods

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