gi-soup-2.4.21: Libsoup 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.Soup.Flags

Contents

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

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

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:method<!-- -->s 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 Session::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

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
Enum 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

Show 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