webkit-0.13.1.0: Binding to the Webkit library.

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

Graphics.UI.Gtk.WebKit.NetworkRequest

Contents

Description

The target of a navigation request

Synopsis

Description

This class represents the network related aspects of a navigation request. It is used whenever WebKit wants to provide information about a request that will be sent, or has been sent. Inside it you can find the URI of the request, and, for valid URIs, a SoupMessage object, which provides access to further information such as headers.

Types

Constructors

networkRequestNew Source

Arguments

:: GlibString string 
=> string

uri - the uri of the request

-> IO NetworkRequest 

Create a new NetworkRequest with the given uri.

It is used whenever WebKit wants to provide information about a request that will be sent, or has been sent.

Methods

networkRequestSetUri Source

Arguments

:: GlibString string 
=> NetworkRequestClass self 
=> self 
-> string

uri - the uri will be set to the request.

-> IO () 

Set the URI of NetworkRequest.

networkRequestGetUri Source

Arguments

:: GlibString string 
=> NetworkRequestClass self 
=> self 
-> IO (Maybe string)

the URI or Nothing in case failed.

Return the uri of NetworkRequest.