| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Soup.Flags
Description
Synopsis
- data Cacheability
- data Expectation
- data MessageFlags
- data ServerListenOptions
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
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
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
[property |
| MessageFlagsIdempotent | The message is considered idempotent,
regardless its [property |
| MessageFlagsDoNotUseAuthCache | The [class |
| MessageFlagsCollectMetrics | Metrics will be collected for this message. |
| AnotherMessageFlags Int | Catch-all for unknown values |
Instances
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 |