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.URIResponse

Contents

Description

 

Synopsis

Exported types

Methods

getContentLength

uRIResponseGetContentLength Source #

Arguments

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

response: a URIResponse

-> m Word64

Returns: the expected content length of response.

Get the expected content length of the URIResponse. It can be 0 if the server provided an incorrect or missing Content-Length.

getHttpHeaders

uRIResponseGetHttpHeaders Source #

Arguments

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

response: a URIResponse

-> m MessageHeaders

Returns: a MessageHeaders with the HTTP headers of response or Nothing if response is not an HTTP response.

Get the HTTP headers of a URIResponse as a MessageHeaders.

Since: 2.6

getMimeType

uRIResponseGetMimeType Source #

Arguments

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

response: a URIResponse

-> m Text

Returns: the MIME type of the URIResponse

No description available in the introspection data.

getStatusCode

uRIResponseGetStatusCode Source #

Arguments

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

response: a URIResponse

-> m Word32

Returns: the status code of response

Get the status code of the URIResponse as returned by the server. It will normally be a KnownStatusCode, for example StatusOk, though the server can respond with any unsigned integer.

getSuggestedFilename

uRIResponseGetSuggestedFilename Source #

Arguments

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

response: a URIResponse

-> m Text

Returns: the suggested filename or Nothing if the 'Content-Disposition' HTTP header is not present.

Get the suggested filename for response, as specified by the 'Content-Disposition' HTTP header, or Nothing if it's not present.

getUri

uRIResponseGetUri Source #

Arguments

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

response: a URIResponse

-> m Text

Returns: the uri of the URIResponse

No description available in the introspection data.

Properties

contentLength

data URIResponseContentLengthPropertyInfo Source #

Instances

AttrInfo URIResponseContentLengthPropertyInfo Source # 
type AttrOrigin URIResponseContentLengthPropertyInfo Source # 
type AttrLabel URIResponseContentLengthPropertyInfo Source # 
type AttrGetType URIResponseContentLengthPropertyInfo Source # 
type AttrBaseTypeConstraint URIResponseContentLengthPropertyInfo Source # 
type AttrSetTypeConstraint URIResponseContentLengthPropertyInfo Source # 
type AttrAllowedOps URIResponseContentLengthPropertyInfo Source # 

httpHeaders

data URIResponseHttpHeadersPropertyInfo Source #

Instances

AttrInfo URIResponseHttpHeadersPropertyInfo Source # 
type AttrOrigin URIResponseHttpHeadersPropertyInfo Source # 
type AttrLabel URIResponseHttpHeadersPropertyInfo Source # 
type AttrGetType URIResponseHttpHeadersPropertyInfo Source # 
type AttrBaseTypeConstraint URIResponseHttpHeadersPropertyInfo Source # 
type AttrSetTypeConstraint URIResponseHttpHeadersPropertyInfo Source # 
type AttrAllowedOps URIResponseHttpHeadersPropertyInfo Source # 

mimeType

data URIResponseMimeTypePropertyInfo Source #

Instances

AttrInfo URIResponseMimeTypePropertyInfo Source # 
type AttrOrigin URIResponseMimeTypePropertyInfo Source # 
type AttrLabel URIResponseMimeTypePropertyInfo Source # 
type AttrGetType URIResponseMimeTypePropertyInfo Source # 
type AttrBaseTypeConstraint URIResponseMimeTypePropertyInfo Source # 
type AttrSetTypeConstraint URIResponseMimeTypePropertyInfo Source # 
type AttrAllowedOps URIResponseMimeTypePropertyInfo Source # 

statusCode

data URIResponseStatusCodePropertyInfo Source #

Instances

AttrInfo URIResponseStatusCodePropertyInfo Source # 
type AttrOrigin URIResponseStatusCodePropertyInfo Source # 
type AttrLabel URIResponseStatusCodePropertyInfo Source # 
type AttrGetType URIResponseStatusCodePropertyInfo Source # 
type AttrBaseTypeConstraint URIResponseStatusCodePropertyInfo Source # 
type AttrSetTypeConstraint URIResponseStatusCodePropertyInfo Source # 
type AttrAllowedOps URIResponseStatusCodePropertyInfo Source # 

suggestedFilename

data URIResponseSuggestedFilenamePropertyInfo Source #

Instances

AttrInfo URIResponseSuggestedFilenamePropertyInfo Source # 
type AttrOrigin URIResponseSuggestedFilenamePropertyInfo Source # 
type AttrLabel URIResponseSuggestedFilenamePropertyInfo Source # 
type AttrGetType URIResponseSuggestedFilenamePropertyInfo Source # 
type AttrBaseTypeConstraint URIResponseSuggestedFilenamePropertyInfo Source # 
type AttrSetTypeConstraint URIResponseSuggestedFilenamePropertyInfo Source # 
type AttrAllowedOps URIResponseSuggestedFilenamePropertyInfo Source # 

uri

data URIResponseUriPropertyInfo Source #

Instances

AttrInfo URIResponseUriPropertyInfo Source # 
type AttrOrigin URIResponseUriPropertyInfo Source # 
type AttrLabel URIResponseUriPropertyInfo Source # 
type AttrGetType URIResponseUriPropertyInfo Source # 
type AttrBaseTypeConstraint URIResponseUriPropertyInfo Source # 
type AttrSetTypeConstraint URIResponseUriPropertyInfo Source # 
type AttrAllowedOps URIResponseUriPropertyInfo Source #