gi-soup-2.4.24: Libsoup bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Soup.Flags

Description

 
Synopsis

Flags

Cacheability

data Cacheability Source #

No description available in the introspection data.

Constructors

CacheabilityCacheable

No description available in the introspection data.

CacheabilityUncacheable

No description available in the introspection data.

CacheabilityInvalidates

No description available in the introspection data.

CacheabilityValidates

No description available in the introspection data.

AnotherCacheability Int

Catch-all for unknown values

Instances

Instances details
Enum Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

Show Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

Eq Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

Ord Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

BoxedFlags Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

IsGFlag Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

TypedObject Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

Methods

glibType :: IO GType

HasParentTypes Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes Cacheability Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes Cacheability = '[] :: [Type]

Expectation

data Expectation Source #

Represents the parsed value of the "Expect" header.

Constructors

ExpectationUnrecognized

any unrecognized expectation

ExpectationContinue

"100-continue"

AnotherExpectation Int

Catch-all for unknown values

Instances

Instances details
Enum Expectation Source # 
Instance details

Defined in GI.Soup.Flags

Show Expectation Source # 
Instance details

Defined in GI.Soup.Flags

Eq Expectation Source # 
Instance details

Defined in GI.Soup.Flags

Ord Expectation Source # 
Instance details

Defined in GI.Soup.Flags

BoxedFlags Expectation Source # 
Instance details

Defined in GI.Soup.Flags

IsGFlag Expectation Source # 
Instance details

Defined in GI.Soup.Flags

TypedObject Expectation Source # 
Instance details

Defined in GI.Soup.Flags

Methods

glibType :: IO GType

HasParentTypes Expectation Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes Expectation Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes Expectation = '[] :: [Type]

MessageFlags

data MessageFlags Source #

Various flags that can be set on a Message to alter its behavior.

Constructors

MessageFlagsNoRedirect

The session should not follow redirect (3xx) responses received by this message.

MessageFlagsCanRebuild

The caller will rebuild the request body if the message is restarted; see messageBodySetAccumulate for more details.

MessageFlagsOverwriteChunks

Deprecated: equivalent to calling messageBodySetAccumulate on the incoming message body (ie, Message:response_body for a client-side request), passing False.

MessageFlagsContentDecoded

Set by ContentDecoder to indicate that it has removed the Content-Encoding on a message (and so headers such as Content-Length may no longer accurately describe the body).

MessageFlagsCertificateTrusted

if set after an https response has been received, indicates that the server's SSL certificate is trusted according to the session's CA.

MessageFlagsNewConnection

Requests that the message should be sent on a newly-created connection, not reusing an existing persistent connection. Note that messages with non-idempotent Message:methods behave this way by default, unless SOUP_MESSAGE_IDEMPOTENT is set.

MessageFlagsIdempotent

The message is considered idempotent, regardless its Message:method, and allows reuse of existing idle connections, instead of always requiring a new one, unless SOUP_MESSAGE_NEW_CONNECTION is set.

MessageFlagsIgnoreConnectionLimits

Request that a new connection is created for the message if there aren't idle connections available and it's not possible to create new connections due to any of the connection limits has been reached. If a dedicated connection is eventually created for this message, it will be dropped when the message finishes. Since 2.50

MessageFlagsDoNotUseAuthCache

The AuthManager should not use the credentials cache for this message, neither to use cached credentials to automatically authenticate this message nor to cache the credentials after the message is successfully authenticated. This applies to both server and proxy authentication. Note that authenticate signal will be emitted, if you want to disable authentication for a message use messageDisableFeature passing SOUP_TYPE_AUTH_MANAGER instead. Since 2.58

AnotherMessageFlags Int

Catch-all for unknown values

Instances

Instances details
Enum MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

Show MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

Eq MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

Ord MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

BoxedFlags MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

IsGFlag MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

TypedObject MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

Methods

glibType :: IO GType

HasParentTypes MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes MessageFlags Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes MessageFlags = '[] :: [Type]

ServerListenOptions

data ServerListenOptions Source #

Options to pass to serverListen, etc.

ServerListenOptionsIpv4Only and ServerListenOptionsIpv6Only only make sense with serverListenAll and serverListenLocal, not plain serverListen (which simply listens on whatever kind of socket you give it). And you cannot specify both of them in a single call.

Since: 2.48

Constructors

ServerListenOptionsHttps

Listen for https connections rather than plain http.

ServerListenOptionsIpv4Only

Only listen on IPv4 interfaces.

ServerListenOptionsIpv6Only

Only listen on IPv6 interfaces.

AnotherServerListenOptions Int

Catch-all for unknown values

Instances

Instances details
Enum ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

Show ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

Eq ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

Ord ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

BoxedFlags ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

IsGFlag ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

TypedObject ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

Methods

glibType :: IO GType

HasParentTypes ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes ServerListenOptions Source # 
Instance details

Defined in GI.Soup.Flags

type ParentTypes ServerListenOptions = '[] :: [Type]