gi-webkit2-4.0.22: WebKit2 bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Objects.URISchemeRequest

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf URISchemeRequest o) => IsURISchemeRequest o Source #

Type class for types which can be safely cast to URISchemeRequest, for instance with toURISchemeRequest.

toURISchemeRequest :: (MonadIO m, IsURISchemeRequest o) => o -> m URISchemeRequest Source #

Cast to URISchemeRequest, for types for which this is known to be safe. For general casts, use castTo.

Methods

finish

uRISchemeRequestFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsURISchemeRequest a, IsInputStream b) 
=> a

request: a URISchemeRequest

-> b

stream: a InputStream to read the contents of the request

-> Int64

streamLength: the length of the stream or -1 if not known

-> Maybe Text

mimeType: the content type of the stream or Nothing if not known

-> m () 

Finish a URISchemeRequest by setting the contents of the request and its mime type.

finishError

uRISchemeRequestFinishError Source #

Arguments

:: (HasCallStack, MonadIO m, IsURISchemeRequest a) 
=> a

request: a URISchemeRequest

-> GError

error: a GError that will be passed to the WebView

-> m () 

Finish a URISchemeRequest with a GError.

Since: 2.2

getPath

uRISchemeRequestGetPath Source #

Arguments

:: (HasCallStack, MonadIO m, IsURISchemeRequest a) 
=> a

request: a URISchemeRequest

-> m Text

Returns: the URI path of request

Get the URI path of request

getScheme

uRISchemeRequestGetScheme Source #

Arguments

:: (HasCallStack, MonadIO m, IsURISchemeRequest a) 
=> a

request: a URISchemeRequest

-> m Text

Returns: the URI scheme of request

Get the URI scheme of request

getUri

uRISchemeRequestGetUri Source #

Arguments

:: (HasCallStack, MonadIO m, IsURISchemeRequest a) 
=> a

request: a URISchemeRequest

-> m Text

Returns: the full URI of request

Get the URI of request

getWebView

uRISchemeRequestGetWebView Source #

Arguments

:: (HasCallStack, MonadIO m, IsURISchemeRequest a) 
=> a

request: a URISchemeRequest

-> m WebView

Returns: the WebView that initiated request.

Get the WebView that initiated the request.