| Maintainer | gtk2hs-users@lists.sourceforge.net |
|---|---|
| Stability | provisional |
| Portability | portable (depends on GHC) |
| Safe Haskell | None |
| Language | Haskell98 |
Graphics.UI.Gtk.WebKit.NetworkRequest
Description
The target of a navigation request
- data NetworkRequest
- class GObjectClass o => NetworkRequestClass o
- networkRequestNew :: GlibString string => string -> IO NetworkRequest
- networkRequestSetUri :: GlibString string => NetworkRequestClass self => self -> string -> IO ()
- networkRequestGetUri :: GlibString string => NetworkRequestClass self => self -> IO (Maybe string)
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
data NetworkRequest Source
class GObjectClass o => NetworkRequestClass o Source
Instances
Constructors
Arguments
| :: GlibString string | |
| => string |
|
| -> 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
Arguments
| :: GlibString string | |
| => NetworkRequestClass self | |
| => self | |
| -> string |
|
| -> IO () |
Set the URI of NetworkRequest.
Arguments
| :: GlibString string | |
| => NetworkRequestClass self | |
| => self | |
| -> IO (Maybe string) | the URI or |
Return the uri of NetworkRequest.