gi-webkit2-4.0.11: WebKit2 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.WebKit2.Objects.URISchemeRequest

Contents

Description

 

Synopsis

Exported types

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.