3.21 <WebKitWebViewSessionState>

Structure: <WebKitWebViewSessionState>

Handles serialization of a web view’s browsing state.

Procedures

Procedure: web-view-session-state:new data ⇒ %return

Creates a new <WebKitWebViewSessionState> from serialized data.

data

Passed: a <GBytes>.

a <GBytes>

%return

Returned: a <WebKitWebViewSessionState>.

a new <WebKitWebViewSessionState>, or #f if data doesn’t contain a valid serialized <WebKitWebViewSessionState>.

Method: web-view-session-state:ref self ⇒ %return
Method: ref self ⇒ %return

Atomically increments the reference count of self by one.

This function is MT-safe and may be called from any thread.

self

Passed: a <WebKitWebViewSessionState>.

a <WebKitWebViewSessionState>

%return

Returned: a <WebKitWebViewSessionState>.

The passed in <WebKitWebViewSessionState>

Method: web-view-session-state:serialize self ⇒ %return
Method: serialize self ⇒ %return

Serializes a <WebKitWebViewSessionState>.

self

Passed: a <WebKitWebViewSessionState>.

a <WebKitWebViewSessionState>

%return

Returned: a <GBytes>.

a <GBytes> containing the self serialized.

Method: web-view-session-state:unref self
Method: unref self

Atomically decrements the reference count of self by one.

If the reference count drops to 0, all memory allocated by the <WebKitWebViewSessionState> is released. This function is MT-safe and may be called from any thread.

self

Passed: a <WebKitWebViewSessionState>.

a <WebKitWebViewSessionState>