Tungsten v0.1.0 Tungsten.CDP.ApplicationCache View Source
This domain has no documentation
Link to this section Summary
Link to this section Types
Link to this type
cdp_application_cache_resource_type() View Source
ApplicationCache.ApplicationCacheResource
Detailed application cache resource information.
Link to this type
cdp_application_cache_type() View Source
ApplicationCache.ApplicationCache
Detailed application cache information.
Link to this type
cdp_frame_with_manifest_type()
View Source
cdp_frame_with_manifest_type()
View Source
cdp_frame_with_manifest_type() :: %{
frame_id: Tungsten.CDP.Page.cdp_frame_id_type(),
manifest_url: String.t(),
status: integer()
}
cdp_frame_with_manifest_type() :: %{
frame_id: Tungsten.CDP.Page.cdp_frame_id_type(),
manifest_url: String.t(),
status: integer()
}
ApplicationCache.FrameWithManifest
Frame identifier - manifest URL pair.
Link to this section Functions
Link to this function
enable(session, parameters \\ %{}, options \\ [])
View Source
enable(session, parameters \\ %{}, options \\ [])
View Source
enable(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, map()} | {:error, term()}
enable(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, map()} | {:error, term()}
Enables application cache domain notifications.
Link to this function
get_application_cache_for_frame(session, parameters, options \\ [])
View Source
get_application_cache_for_frame(session, parameters, options \\ [])
View Source
get_application_cache_for_frame(
GenServer.server(),
%{frame_id: Tungsten.CDP.Page.cdp_frame_id_type()},
Tungsten.Connection.exec_options()
) ::
{:ok, %{application_cache: cdp_application_cache_type()}} | {:error, term()}
get_application_cache_for_frame( GenServer.server(), %{frame_id: Tungsten.CDP.Page.cdp_frame_id_type()}, Tungsten.Connection.exec_options() ) :: {:ok, %{application_cache: cdp_application_cache_type()}} | {:error, term()}
ApplicationCache.getApplicationCacheForFrame
Returns relevant application cache data for the document in given frame.
Link to this function
get_frames_with_manifests(session, parameters \\ %{}, options \\ [])
View Source
get_frames_with_manifests(session, parameters \\ %{}, options \\ [])
View Source
get_frames_with_manifests(
GenServer.server(),
map(),
Tungsten.Connection.exec_options()
) :: {:ok, %{frame_ids: [cdp_frame_with_manifest_type()]}} | {:error, term()}
get_frames_with_manifests( GenServer.server(), map(), Tungsten.Connection.exec_options() ) :: {:ok, %{frame_ids: [cdp_frame_with_manifest_type()]}} | {:error, term()}
ApplicationCache.getFramesWithManifests
Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
Link to this function
get_manifest_for_frame(session, parameters, options \\ [])
View Source
get_manifest_for_frame(session, parameters, options \\ [])
View Source
get_manifest_for_frame(
GenServer.server(),
%{frame_id: Tungsten.CDP.Page.cdp_frame_id_type()},
Tungsten.Connection.exec_options()
) :: {:ok, %{manifest_url: String.t()}} | {:error, term()}
get_manifest_for_frame( GenServer.server(), %{frame_id: Tungsten.CDP.Page.cdp_frame_id_type()}, Tungsten.Connection.exec_options() ) :: {:ok, %{manifest_url: String.t()}} | {:error, term()}
ApplicationCache.getManifestForFrame
Returns manifest URL for document in the given frame.