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

GI.Soup.Flags

Description

 
Synopsis

Flags

Cacheability

data Cacheability Source #

Indicates if a message should or shouldn't be cached.

Constructors

CacheabilityCacheable

The message should be cached

CacheabilityUncacheable

The message shouldn't be cached

CacheabilityInvalidates

The messages cache should be invalidated

CacheabilityValidates

The messages cache should be updated

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.

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 [propertymessage:method]s behave this way by default, unless SOUP_MESSAGE_IDEMPOTENT is set.

MessageFlagsIdempotent

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

MessageFlagsDoNotUseAuthCache

The [classauthManager] 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 signalmessage[authenticate] signal will be emitted, if you want to disable authentication for a message use [methodmessage.disable_feature] passing SOUP_TYPE_AUTH_MANAGER instead.

MessageFlagsCollectMetrics

Metrics will be collected for this message.

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 [methodserver.listen], etc.

ServerListenOptionsIpv4Only and ServerListenOptionsIpv6Only only make sense with [methodserver.listen_all] and [methodserver.listen_local], not plain [methodserver.listen] (which simply listens on whatever kind of socket you give it). And you cannot specify both of them in a single call.

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]