Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype URIRequest = URIRequest (ManagedPtr URIRequest)
- class (GObject o, IsDescendantOf URIRequest o) => IsURIRequest o
- toURIRequest :: (MonadIO m, IsURIRequest o) => o -> m URIRequest
- uRIRequestGetHttpHeaders :: (HasCallStack, MonadIO m, IsURIRequest a) => a -> m MessageHeaders
- uRIRequestGetHttpMethod :: (HasCallStack, MonadIO m, IsURIRequest a) => a -> m Text
- uRIRequestGetUri :: (HasCallStack, MonadIO m, IsURIRequest a) => a -> m Text
- uRIRequestNew :: (HasCallStack, MonadIO m) => Text -> m URIRequest
- uRIRequestSetUri :: (HasCallStack, MonadIO m, IsURIRequest a) => a -> Text -> m ()
- constructURIRequestUri :: (IsURIRequest o, MonadIO m) => Text -> m (GValueConstruct o)
- getURIRequestUri :: (MonadIO m, IsURIRequest o) => o -> m Text
- setURIRequestUri :: (MonadIO m, IsURIRequest o) => o -> Text -> m ()
Exported types
newtype URIRequest Source #
Memory-managed wrapper type.
URIRequest (ManagedPtr URIRequest) |
Instances
Eq URIRequest Source # | |
Defined in GI.WebKit2WebExtension.Objects.URIRequest (==) :: URIRequest -> URIRequest -> Bool (/=) :: URIRequest -> URIRequest -> Bool | |
GObject URIRequest Source # | |
Defined in GI.WebKit2WebExtension.Objects.URIRequest | |
ManagedPtrNewtype URIRequest Source # | |
Defined in GI.WebKit2WebExtension.Objects.URIRequest toManagedPtr :: URIRequest -> ManagedPtr URIRequest | |
TypedObject URIRequest Source # | |
Defined in GI.WebKit2WebExtension.Objects.URIRequest glibType :: IO GType | |
IsGValue URIRequest Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.URIRequest toGValue :: URIRequest -> IO GValue fromGValue :: GValue -> IO URIRequest | |
HasParentTypes URIRequest Source # | |
Defined in GI.WebKit2WebExtension.Objects.URIRequest | |
type ParentTypes URIRequest Source # | |
Defined in GI.WebKit2WebExtension.Objects.URIRequest type ParentTypes URIRequest = '[Object] |
class (GObject o, IsDescendantOf URIRequest o) => IsURIRequest o Source #
Type class for types which can be safely cast to URIRequest
, for instance with toURIRequest
.
Instances
(GObject o, IsDescendantOf URIRequest o) => IsURIRequest o Source # | |
Defined in GI.WebKit2WebExtension.Objects.URIRequest |
toURIRequest :: (MonadIO m, IsURIRequest o) => o -> m URIRequest Source #
Cast to URIRequest
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
getHttpHeaders
uRIRequestGetHttpHeaders Source #
:: (HasCallStack, MonadIO m, IsURIRequest a) | |
=> a |
|
-> m MessageHeaders | Returns: a |
Get the HTTP headers of a URIRequest
as a MessageHeaders
.
getHttpMethod
uRIRequestGetHttpMethod Source #
:: (HasCallStack, MonadIO m, IsURIRequest a) | |
=> a |
|
-> m Text | Returns: the HTTP method of the |
Get the HTTP method of the URIRequest
.
Since: 2.12
getUri
:: (HasCallStack, MonadIO m, IsURIRequest a) | |
=> a |
|
-> m Text | Returns: the uri of the |
No description available in the introspection data.
new
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m URIRequest | Returns: a new |
Creates a new URIRequest
for the given URI.
setUri
:: (HasCallStack, MonadIO m, IsURIRequest a) | |
=> a |
|
-> Text |
|
-> m () |
Set the URI of request
Properties
uri
The URI to which the request will be made.
constructURIRequestUri :: (IsURIRequest o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “uri
” property. This is rarely needed directly, but it is used by new
.
getURIRequestUri :: (MonadIO m, IsURIRequest o) => o -> m Text Source #
Get the value of the “uri
” property.
When overloading is enabled, this is equivalent to
get
uRIRequest #uri
setURIRequestUri :: (MonadIO m, IsURIRequest o) => o -> Text -> m () Source #
Set the value of the “uri
” property.
When overloading is enabled, this is equivalent to
set
uRIRequest [ #uri:=
value ]