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.Constants

Description

 
Synopsis

Documentation

pattern VERSION_MIN_REQUIRED :: Int32 Source #

A macro that should be defined by the user prior to including libsoup.h.

The definition should be one of the predefined libsoup version macros: SOUP_VERSION_2_24, SOUP_VERSION_2_26, ...

This macro defines the earliest version of libsoup that the package is required to be able to compile against.

If the compiler is configured to warn about the use of deprecated functions, then using functions that were deprecated in version VERSION_MIN_REQUIRED or earlier will cause warnings (but using functions deprecated in later releases will not).

pattern MINOR_VERSION :: Int32 Source #

Like [funcgetMinorVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.

pattern MICRO_VERSION :: Int32 Source #

Like [funcgetMicroVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.

pattern MAJOR_VERSION :: Int32 Source #

Like [funcgetMajorVersion], but from the headers used at application compile time, rather than from the library linked against at application run time.

pattern HTTP_URI_FLAGS :: Int32 Source #

The set of UriFlags libsoup expects all Uri to use.

pattern HSTS_POLICY_MAX_AGE_PAST :: Int32 Source #

An expiration date that is always in the past.

pattern FORM_MIME_TYPE_URLENCODED :: Text Source #

A macro containing the value application/x-www-form-urlencoded; the default MIME type for POSTing HTML form data.

pattern FORM_MIME_TYPE_MULTIPART :: Text Source #

A macro containing the value multipart/form-data; the MIME type used for posting form data that contains files to be uploaded.

pattern COOKIE_MAX_AGE_ONE_YEAR :: Int32 Source #

A constant corresponding to 1 year.

For use with [ctorcookie.new] and [methodcookie.set_max_age].

pattern COOKIE_MAX_AGE_ONE_WEEK :: Int32 Source #

A constant corresponding to 1 week.

For use with [ctorcookie.new] and [methodcookie.set_max_age].

pattern COOKIE_MAX_AGE_ONE_HOUR :: Int32 Source #

A constant corresponding to 1 hour.

For use with [ctorcookie.new] and [methodcookie.set_max_age].

pattern COOKIE_MAX_AGE_ONE_DAY :: Int32 Source #

A constant corresponding to 1 day.

For use with [ctorcookie.new] and [methodcookie.set_max_age].