webkit-0.12.5.3: Binding to the Webkit library.

Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Safe HaskellNone

Graphics.UI.Gtk.WebKit.WebResource

Contents

Description

Note:

Function webkit_web_resource_get_data haven't binding no idea how to handle GString.

Access to the WebKit Web Resource

Synopsis

Description

A web resource encapsulates the data of the download as well as the URI, MIME type and frame name of the resource.

Types

Constructors

webResourceNew :: String -> Int -> String -> String -> String -> String -> IO WebResourceSource

Returns a new WebKitWebResource. The encoding can be empty. The frameName can be used if the resource represents contents of an entire HTML frame, otherwise pass empty.

Methods

webResourceGetData :: WebResourceClass self => self -> IO (Maybe String)Source

Returns the data of the WebResource.

webResourceGetEncoding :: WebResourceClass self => self -> IO (Maybe String)Source

Get encoding.

webResourceGetFrameName :: WebResourceClass self => self -> IO (Maybe String)Source

Get frame name.

webResourceGetMimeType :: WebResourceClass self => self -> IO (Maybe String)Source

Get mime type.