8#ifndef ULTRALIGHT_CAPI_SESSION_H
9#define ULTRALIGHT_CAPI_SESSION_H
struct C_String * ULString
Definition CAPI_Defines.h:54
struct C_Session * ULSession
Definition CAPI_Defines.h:50
#define ULExport
Definition CAPI_Defines.h:27
struct C_Renderer * ULRenderer
Definition CAPI_Defines.h:49
ULExport void ulDestroySession(ULSession session)
Destroy a Session.
ULExport unsigned long long ulSessionGetId(ULSession session)
Unique numeric Id for the session.
ULExport bool ulSessionIsPersistent(ULSession session)
Whether or not is persistent (backed to disk).
ULExport ULSession ulDefaultSession(ULRenderer renderer)
Get the default session (persistent session named "default").
ULExport ULString ulSessionGetDiskPath(ULSession session)
The disk path to write to (used by persistent sessions only).
ULExport ULSession ulCreateSession(ULRenderer renderer, bool is_persistent, ULString name)
Create a Session to store local data in (such as cookies, local storage, application cache,...
ULExport ULString ulSessionGetName(ULSession session)
Unique name identifying the session (used for unique disk path).