gi-webkit-3.0.9: WebKit bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit.Objects.WebResource

Contents

Description

 

Synopsis

Exported types

newtype WebResource Source #

Constructors

WebResource (ManagedPtr WebResource) 

Instances

GObject WebResource Source # 
IsObject WebResource Source # 
IsWebResource WebResource Source # 
((~) * info (ResolveWebResourceMethod t WebResource), MethodInfo * info WebResource p) => IsLabel t (WebResource -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> WebResource -> p #

((~) * info (ResolveWebResourceMethod t WebResource), MethodInfo * info WebResource p) => IsLabelProxy t (WebResource -> p) Source # 
HasAttributeList * WebResource Source # 
type SignalList WebResource Source # 
type SignalList WebResource
type AttributeList WebResource Source # 
type AttributeList WebResource

class GObject o => IsWebResource o Source #

Instances

(GObject a, UnknownAncestorError Constraint WebResource a) => IsWebResource a Source # 
IsWebResource WebResource Source # 

Methods

getData

data WebResourceGetDataMethodInfo Source #

Instances

((~) * signature (m String), MonadIO m, IsWebResource a) => MethodInfo * WebResourceGetDataMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy WebResourceGetDataMethodInfo a -> signature -> s

webResourceGetData :: (MonadIO m, IsWebResource a) => a -> m String Source #

getEncoding

data WebResourceGetEncodingMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsWebResource a) => MethodInfo * WebResourceGetEncodingMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy WebResourceGetEncodingMethodInfo a -> signature -> s

getFrameName

data WebResourceGetFrameNameMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsWebResource a) => MethodInfo * WebResourceGetFrameNameMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy WebResourceGetFrameNameMethodInfo a -> signature -> s

getMimeType

data WebResourceGetMimeTypeMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsWebResource a) => MethodInfo * WebResourceGetMimeTypeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy WebResourceGetMimeTypeMethodInfo a -> signature -> s

getUri

data WebResourceGetUriMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsWebResource a) => MethodInfo * WebResourceGetUriMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy WebResourceGetUriMethodInfo a -> signature -> s

new

webResourceNew :: MonadIO m => Text -> Int64 -> Text -> Text -> Text -> Text -> m WebResource Source #

Properties

encoding

data WebResourceEncodingPropertyInfo Source #

Instances

AttrInfo WebResourceEncodingPropertyInfo Source # 

Associated Types

type AttrAllowedOps WebResourceEncodingPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint WebResourceEncodingPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint WebResourceEncodingPropertyInfo :: * -> Constraint

type AttrGetType WebResourceEncodingPropertyInfo :: *

type AttrLabel WebResourceEncodingPropertyInfo :: Symbol

type AttrOrigin WebResourceEncodingPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint WebResourceEncodingPropertyInfo o => Proxy * WebResourceEncodingPropertyInfo -> o -> IO (AttrGetType WebResourceEncodingPropertyInfo)

attrSet :: (AttrBaseTypeConstraint WebResourceEncodingPropertyInfo o, AttrSetTypeConstraint WebResourceEncodingPropertyInfo b) => Proxy * WebResourceEncodingPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint WebResourceEncodingPropertyInfo o => Proxy * WebResourceEncodingPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint WebResourceEncodingPropertyInfo o, AttrSetTypeConstraint WebResourceEncodingPropertyInfo b) => Proxy * WebResourceEncodingPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint WebResourceEncodingPropertyInfo Source # 
type AttrSetTypeConstraint WebResourceEncodingPropertyInfo = * ~ ()
type AttrOrigin WebResourceEncodingPropertyInfo Source # 
type AttrLabel WebResourceEncodingPropertyInfo Source # 
type AttrLabel WebResourceEncodingPropertyInfo = "encoding"
type AttrGetType WebResourceEncodingPropertyInfo Source # 
type AttrGetType WebResourceEncodingPropertyInfo = Text
type AttrBaseTypeConstraint WebResourceEncodingPropertyInfo Source # 
type AttrBaseTypeConstraint WebResourceEncodingPropertyInfo = IsWebResource
type AttrAllowedOps WebResourceEncodingPropertyInfo Source # 
type AttrAllowedOps WebResourceEncodingPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))

webResourceEncoding :: AttrLabelProxy "encoding" Source #

frameName

data WebResourceFrameNamePropertyInfo Source #

Instances

AttrInfo WebResourceFrameNamePropertyInfo Source # 

Associated Types

type AttrAllowedOps WebResourceFrameNamePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint WebResourceFrameNamePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint WebResourceFrameNamePropertyInfo :: * -> Constraint

type AttrGetType WebResourceFrameNamePropertyInfo :: *

type AttrLabel WebResourceFrameNamePropertyInfo :: Symbol

type AttrOrigin WebResourceFrameNamePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint WebResourceFrameNamePropertyInfo o => Proxy * WebResourceFrameNamePropertyInfo -> o -> IO (AttrGetType WebResourceFrameNamePropertyInfo)

attrSet :: (AttrBaseTypeConstraint WebResourceFrameNamePropertyInfo o, AttrSetTypeConstraint WebResourceFrameNamePropertyInfo b) => Proxy * WebResourceFrameNamePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint WebResourceFrameNamePropertyInfo o => Proxy * WebResourceFrameNamePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint WebResourceFrameNamePropertyInfo o, AttrSetTypeConstraint WebResourceFrameNamePropertyInfo b) => Proxy * WebResourceFrameNamePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint WebResourceFrameNamePropertyInfo Source # 
type AttrSetTypeConstraint WebResourceFrameNamePropertyInfo = * ~ ()
type AttrOrigin WebResourceFrameNamePropertyInfo Source # 
type AttrLabel WebResourceFrameNamePropertyInfo Source # 
type AttrLabel WebResourceFrameNamePropertyInfo = "frame-name"
type AttrGetType WebResourceFrameNamePropertyInfo Source # 
type AttrGetType WebResourceFrameNamePropertyInfo = Text
type AttrBaseTypeConstraint WebResourceFrameNamePropertyInfo Source # 
type AttrBaseTypeConstraint WebResourceFrameNamePropertyInfo = IsWebResource
type AttrAllowedOps WebResourceFrameNamePropertyInfo Source # 
type AttrAllowedOps WebResourceFrameNamePropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))

webResourceFrameName :: AttrLabelProxy "frameName" Source #

mimeType

data WebResourceMimeTypePropertyInfo Source #

Instances

AttrInfo WebResourceMimeTypePropertyInfo Source # 

Associated Types

type AttrAllowedOps WebResourceMimeTypePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint WebResourceMimeTypePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint WebResourceMimeTypePropertyInfo :: * -> Constraint

type AttrGetType WebResourceMimeTypePropertyInfo :: *

type AttrLabel WebResourceMimeTypePropertyInfo :: Symbol

type AttrOrigin WebResourceMimeTypePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint WebResourceMimeTypePropertyInfo o => Proxy * WebResourceMimeTypePropertyInfo -> o -> IO (AttrGetType WebResourceMimeTypePropertyInfo)

attrSet :: (AttrBaseTypeConstraint WebResourceMimeTypePropertyInfo o, AttrSetTypeConstraint WebResourceMimeTypePropertyInfo b) => Proxy * WebResourceMimeTypePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint WebResourceMimeTypePropertyInfo o => Proxy * WebResourceMimeTypePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint WebResourceMimeTypePropertyInfo o, AttrSetTypeConstraint WebResourceMimeTypePropertyInfo b) => Proxy * WebResourceMimeTypePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint WebResourceMimeTypePropertyInfo Source # 
type AttrSetTypeConstraint WebResourceMimeTypePropertyInfo = * ~ ()
type AttrOrigin WebResourceMimeTypePropertyInfo Source # 
type AttrLabel WebResourceMimeTypePropertyInfo Source # 
type AttrLabel WebResourceMimeTypePropertyInfo = "mime-type"
type AttrGetType WebResourceMimeTypePropertyInfo Source # 
type AttrGetType WebResourceMimeTypePropertyInfo = Text
type AttrBaseTypeConstraint WebResourceMimeTypePropertyInfo Source # 
type AttrBaseTypeConstraint WebResourceMimeTypePropertyInfo = IsWebResource
type AttrAllowedOps WebResourceMimeTypePropertyInfo Source # 
type AttrAllowedOps WebResourceMimeTypePropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag))

webResourceMimeType :: AttrLabelProxy "mimeType" Source #

uri

data WebResourceUriPropertyInfo Source #

Instances

AttrInfo WebResourceUriPropertyInfo Source # 

Associated Types

type AttrAllowedOps WebResourceUriPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint WebResourceUriPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint WebResourceUriPropertyInfo :: * -> Constraint

type AttrGetType WebResourceUriPropertyInfo :: *

type AttrLabel WebResourceUriPropertyInfo :: Symbol

type AttrOrigin WebResourceUriPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint WebResourceUriPropertyInfo o => Proxy * WebResourceUriPropertyInfo -> o -> IO (AttrGetType WebResourceUriPropertyInfo)

attrSet :: (AttrBaseTypeConstraint WebResourceUriPropertyInfo o, AttrSetTypeConstraint WebResourceUriPropertyInfo b) => Proxy * WebResourceUriPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint WebResourceUriPropertyInfo o => Proxy * WebResourceUriPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint WebResourceUriPropertyInfo o, AttrSetTypeConstraint WebResourceUriPropertyInfo b) => Proxy * WebResourceUriPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint WebResourceUriPropertyInfo Source # 
type AttrSetTypeConstraint WebResourceUriPropertyInfo = * ~ Text
type AttrOrigin WebResourceUriPropertyInfo Source # 
type AttrLabel WebResourceUriPropertyInfo Source # 
type AttrLabel WebResourceUriPropertyInfo = "uri"
type AttrGetType WebResourceUriPropertyInfo Source # 
type AttrGetType WebResourceUriPropertyInfo = Text
type AttrBaseTypeConstraint WebResourceUriPropertyInfo Source # 
type AttrBaseTypeConstraint WebResourceUriPropertyInfo = IsWebResource
type AttrAllowedOps WebResourceUriPropertyInfo Source # 
type AttrAllowedOps WebResourceUriPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructWebResourceUri :: IsWebResource o => Text -> IO (GValueConstruct o) Source #

webResourceUri :: AttrLabelProxy "uri" Source #

Signals

contentLengthReceived

loadFailed

type C_WebResourceLoadFailedCallback = Ptr () -> Ptr () -> Ptr () -> IO () Source #

data WebResourceLoadFailedSignalInfo Source #

Instances

SignalInfo WebResourceLoadFailedSignalInfo Source # 

Associated Types

type HaskellCallbackType WebResourceLoadFailedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o WebResourceLoadFailedSignalInfo -> o -> HaskellCallbackType WebResourceLoadFailedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType WebResourceLoadFailedSignalInfo Source # 

afterWebResourceLoadFailed :: (GObject a, MonadIO m) => a -> WebResourceLoadFailedCallback -> m SignalHandlerId Source #

onWebResourceLoadFailed :: (GObject a, MonadIO m) => a -> WebResourceLoadFailedCallback -> m SignalHandlerId Source #

loadFinished

data WebResourceLoadFinishedSignalInfo Source #

Instances

SignalInfo WebResourceLoadFinishedSignalInfo Source # 

Associated Types

type HaskellCallbackType WebResourceLoadFinishedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o WebResourceLoadFinishedSignalInfo -> o -> HaskellCallbackType WebResourceLoadFinishedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType WebResourceLoadFinishedSignalInfo Source # 

afterWebResourceLoadFinished :: (GObject a, MonadIO m) => a -> WebResourceLoadFinishedCallback -> m SignalHandlerId Source #

onWebResourceLoadFinished :: (GObject a, MonadIO m) => a -> WebResourceLoadFinishedCallback -> m SignalHandlerId Source #

responseReceived

data WebResourceResponseReceivedSignalInfo Source #

Instances

SignalInfo WebResourceResponseReceivedSignalInfo Source # 

Associated Types

type HaskellCallbackType WebResourceResponseReceivedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o WebResourceResponseReceivedSignalInfo -> o -> HaskellCallbackType WebResourceResponseReceivedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType WebResourceResponseReceivedSignalInfo Source #