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

Contents

Description

 

Synopsis

Exported types

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 # 
Eq ServerListenOptions Source # 
Ord ServerListenOptions Source # 
Show ServerListenOptions Source # 
BoxedFlags ServerListenOptions Source # 
IsGFlag ServerListenOptions Source # 

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

AnotherMessageFlags Int

Catch-all for unknown values

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