gi-soup-2.4.26: 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).

Since: 2.42

pattern SOCKET_TLS_ERRORS :: Text Source #

Alias for the Socket:tlsErrors property. Note that this property's value is only useful if the socket is for a TLS connection, and only reliable after some data has been transferred to or from it.

Since: 2.34

pattern SOCKET_TLS_CERTIFICATE :: Text Source #

Alias for the Socket:tlsCertificate property. Note that this property's value is only useful if the socket is for a TLS connection, and only reliable after some data has been transferred to or from it.

Since: 2.34

pattern SOCKET_TIMEOUT :: Text Source #

Alias for the Socket:timeout property. (The timeout in seconds for blocking socket I/O operations.)

pattern SOCKET_SSL_STRICT :: Text Source #

Alias for the Socket:sslStrict property.

pattern SOCKET_SSL_FALLBACK :: Text Source #

Alias for the Socket:sslFallback property.

pattern SOCKET_SSL_CREDENTIALS :: Text Source #

Alias for the Socket:sslCreds property. (SSL credential information.)

pattern SOCKET_REMOTE_ADDRESS :: Text Source #

Alias for the Socket:remoteAddress property. (Address of remote end of socket.)

pattern SOCKET_LOCAL_ADDRESS :: Text Source #

Alias for the Socket:localAddress property. (Address of local end of socket.)

pattern SOCKET_IS_SERVER :: Text Source #

Alias for the Socket:isServer property, qv.

pattern SOCKET_FLAG_NONBLOCKING :: Text Source #

Alias for the Socket:nonBlocking property. (Whether or not the socket uses non-blocking I/O.)

pattern SOCKET_ASYNC_CONTEXT :: Text Source #

Alias for the Socket:asyncContext property. (The socket's MainContext.)

pattern SESSION_USE_THREAD_CONTEXT :: Text Source #

Alias for the Session:useThreadContext property, qv.

Since: 2.38

pattern SESSION_USE_NTLM :: Text Source #

Alias for the Session:useNtlm property, qv.

pattern SESSION_USER_AGENT :: Text Source #

Alias for the Session:userAgent property, qv.

pattern SESSION_TLS_INTERACTION :: Text Source #

Alias for the Session:tlsInteraction property, qv.

Since: 2.48

pattern SESSION_TLS_DATABASE :: Text Source #

Alias for the Session:tlsDatabase property, qv.

Since: 2.38

pattern SESSION_TIMEOUT :: Text Source #

Alias for the Session:timeout property, qv.

pattern SESSION_SSL_USE_SYSTEM_CA_FILE :: Text Source #

Alias for the Session:sslUseSystemCaFile property, qv.

Since: 2.38

pattern SESSION_SSL_STRICT :: Text Source #

Alias for the Session:sslStrict property, qv.

Since: 2.30

pattern SESSION_SSL_CA_FILE :: Text Source #

Alias for the Session:sslCaFile property, qv.

pattern SESSION_PROXY_URI :: Text Source #

Alias for the Session:proxyUri property, qv.

pattern SESSION_PROXY_RESOLVER :: Text Source #

Alias for the Session:proxyResolver property, qv.

pattern SESSION_MAX_CONNS_PER_HOST :: Text Source #

Alias for the Session:maxConnsPerHost property, qv.

pattern SESSION_MAX_CONNS :: Text Source #

Alias for the Session:maxConns property, qv.

pattern SESSION_LOCAL_ADDRESS :: Text Source #

Alias for the Session:localAddress property, qv.

Since: 2.42

pattern SESSION_IDLE_TIMEOUT :: Text Source #

Alias for the Session:idleTimeout property, qv.

Since: 2.24

pattern SESSION_HTTP_ALIASES :: Text Source #

Alias for the Session:httpAliases property, qv.

Since: 2.38

pattern SESSION_HTTPS_ALIASES :: Text Source #

Alias for the Session:httpsAliases property, qv.

Since: 2.38

pattern SESSION_ASYNC_CONTEXT :: Text Source #

Alias for the Session:asyncContext property, qv.

pattern SESSION_ACCEPT_LANGUAGE_AUTO :: Text Source #

Alias for the Session:acceptLanguageAuto property, qv.

Since: 2.30

pattern SESSION_ACCEPT_LANGUAGE :: Text Source #

Alias for the Session:acceptLanguage property, qv.

Since: 2.30

pattern SERVER_TLS_CERTIFICATE :: Text Source #

Alias for the Server:tlsCertificate property, qv.

Since: 2.38

pattern SERVER_SSL_KEY_FILE :: Text Source #

Deprecated: use Server:tlsCertificate orsoup_server_set_ssl_certificate().

Alias for the Server:sslKeyFile property, qv.

pattern SERVER_SSL_CERT_FILE :: Text Source #

Deprecated: use Server:tlsCertificate orsoup_server_set_ssl_certificate().

Alias for the Server:sslCertFile property, qv.

pattern SERVER_SERVER_HEADER :: Text Source #

Alias for the Server:serverHeader property, qv.

pattern SERVER_RAW_PATHS :: Text Source #

Alias for the Server:rawPaths property. (If True, percent-encoding in the Request-URI path will not be automatically decoded.)

pattern SERVER_PORT :: Text Source #

Deprecated: SoupServers can listen on multiple interfacesat once now. Use serverListen, etc, to listen on aport, and serverGetUris to see what ports arebeing listened on.

Alias for the deprecated Server:port property, qv.

pattern SERVER_INTERFACE :: Text Source #

Deprecated: SoupServers can listen on multiple interfacesat once now. Use serverListen, etc, to listen on aninterface, and serverGetUris to see what addressesare being listened on.

Alias for the Server:interface property, qv.

pattern SERVER_HTTP_ALIASES :: Text Source #

Alias for the Server:httpAliases property, qv.

Since: 2.44

pattern SERVER_HTTPS_ALIASES :: Text Source #

Alias for the Server:httpsAliases property, qv.

Since: 2.44

pattern SERVER_ASYNC_CONTEXT :: Text Source #

Deprecated: The new API uses the thread-default MainContextrather than having an explicitly-specified one.

Alias for the deprecated Server:asyncContext property, qv.

pattern REQUEST_URI :: Text Source #

Alias for the Request:uri property, qv.

Since: 2.42

pattern REQUEST_SESSION :: Text Source #

Alias for the Request:session property, qv.

Since: 2.42

pattern MINOR_VERSION :: Int32 Source #

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

Since: 2.42

pattern MICRO_VERSION :: Int32 Source #

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

Since: 2.42

pattern MESSAGE_URI :: Text Source #

Alias for the Message:uri property. (The message's URI.)

pattern MESSAGE_TLS_ERRORS :: Text Source #

Alias for the Message:tlsErrors property. (The verification errors on Message:tlsCertificate.)

Since: 2.34

pattern MESSAGE_TLS_CERTIFICATE :: Text Source #

Alias for the Message:tlsCertificate property. (The TLS certificate associated with the message, if any.)

Since: 2.34

pattern MESSAGE_STATUS_CODE :: Text Source #

Alias for the Message:statusCode property. (The message's HTTP response status code.)

pattern MESSAGE_SITE_FOR_COOKIES :: Text Source #

No description available in the introspection data.

pattern MESSAGE_SERVER_SIDE :: Text Source #

Alias for the Message:serverSide property. (True if the message was created by Server.)

pattern MESSAGE_RESPONSE_HEADERS :: Text Source #

Alias for the Message:responseHeaders property. (The message's HTTP response headers.)

pattern MESSAGE_RESPONSE_BODY_DATA :: Text Source #

Alias for the Message:responseBodyData property. (The message's HTTP response body, as a Bytes.)

Since: 2.46

pattern MESSAGE_RESPONSE_BODY :: Text Source #

Alias for the Message:responseBody property. (The message's HTTP response body.)

pattern MESSAGE_REQUEST_HEADERS :: Text Source #

Alias for the Message:requestHeaders property. (The message's HTTP request headers.)

pattern MESSAGE_REQUEST_BODY_DATA :: Text Source #

Alias for the Message:requestBodyData property. (The message's HTTP request body, as a Bytes.)

Since: 2.46

pattern MESSAGE_REQUEST_BODY :: Text Source #

Alias for the Message:requestBody property. (The message's HTTP request body.)

pattern MESSAGE_REASON_PHRASE :: Text Source #

Alias for the Message:reasonPhrase property. (The message's HTTP response reason phrase.)

pattern MESSAGE_PRIORITY :: Text Source #

Sets the priority of the Message. See messageSetPriority for further details.

Since: 2.44

pattern MESSAGE_METHOD :: Text Source #

Alias for the Message:method property. (The message's HTTP method.)

pattern MESSAGE_IS_TOP_LEVEL_NAVIGATION :: Text Source #

No description available in the introspection data.

pattern MESSAGE_HTTP_VERSION :: Text Source #

Alias for the Message:httpVersion property. (The message's HTTPVersion.)

pattern MESSAGE_FLAGS :: Text Source #

Alias for the Message:flags property. (The message's MessageFlags.)

pattern MESSAGE_FIRST_PARTY :: Text Source #

Alias for the Message:firstParty property. (The URI loaded in the application when the message was queued.)

Since: 2.30

pattern MAJOR_VERSION :: Int32 Source #

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

Since: 2.42

pattern LOGGER_MAX_BODY_SIZE :: Text Source #

Alias for the Logger:maxBodySize property, qv.

Since: 2.56

pattern LOGGER_LEVEL :: Text Source #

Alias for the Logger:level property, qv.

Since: 2.56

pattern HSTS_POLICY_MAX_AGE_PAST :: Int32 Source #

No description available in the introspection data.

pattern HSTS_ENFORCER_DB_FILENAME :: Text Source #

No description available in the introspection data.

pattern FORM_MIME_TYPE_URLENCODED :: Text Source #

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

Since: 2.26

pattern FORM_MIME_TYPE_MULTIPART :: Text Source #

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

Since: 2.26

pattern COOKIE_MAX_AGE_ONE_YEAR :: Int32 Source #

A constant corresponding to 1 year, for use with cookieNew and cookieSetMaxAge.

Since: 2.24

pattern COOKIE_MAX_AGE_ONE_WEEK :: Int32 Source #

A constant corresponding to 1 week, for use with cookieNew and cookieSetMaxAge.

Since: 2.24

pattern COOKIE_MAX_AGE_ONE_HOUR :: Int32 Source #

A constant corresponding to 1 hour, for use with cookieNew and cookieSetMaxAge.

Since: 2.24

pattern COOKIE_MAX_AGE_ONE_DAY :: Int32 Source #

A constant corresponding to 1 day, for use with cookieNew and cookieSetMaxAge.

Since: 2.24

pattern COOKIE_JAR_TEXT_FILENAME :: Text Source #

Alias for the CookieJarText:filename property. (The cookie-storage filename.)

pattern COOKIE_JAR_READ_ONLY :: Text Source #

Alias for the CookieJar:readOnly property. (Whether or not the cookie jar is read-only.)

pattern COOKIE_JAR_DB_FILENAME :: Text Source #

Alias for the CookieJarDB:filename property. (The cookie-storage filename.)

pattern COOKIE_JAR_ACCEPT_POLICY :: Text Source #

Alias for the CookieJar:acceptPolicy property.

Since: 2.30

pattern CHAR_URI_SUB_DELIMS :: Int32 Source #

No description available in the introspection data.

pattern CHAR_URI_PERCENT_ENCODED :: Int32 Source #

No description available in the introspection data.

pattern CHAR_URI_GEN_DELIMS :: Int32 Source #

No description available in the introspection data.

pattern CHAR_HTTP_SEPARATOR :: Int32 Source #

No description available in the introspection data.

pattern CHAR_HTTP_CTL :: Int32 Source #

No description available in the introspection data.

pattern AUTH_SCHEME_NAME :: Text Source #

An alias for the Auth:schemeName property. (The authentication scheme name.)

pattern AUTH_REALM :: Text Source #

An alias for the Auth:realm property. (The authentication realm.)

pattern AUTH_IS_FOR_PROXY :: Text Source #

An alias for the Auth:isForProxy property. (Whether or not the auth is for a proxy server.)

pattern AUTH_IS_AUTHENTICATED :: Text Source #

An alias for the Auth:isAuthenticated property. (Whether or not the auth has been authenticated.)

pattern AUTH_HOST :: Text Source #

An alias for the Auth:host property. (The host being authenticated to.)

pattern AUTH_DOMAIN_REMOVE_PATH :: Text Source #

Alias for the AuthDomain:removePath property. (Shortcut for calling authDomainRemovePath.)

pattern AUTH_DOMAIN_REALM :: Text Source #

Alias for the AuthDomain:realm property. (The realm of this auth domain.)

pattern AUTH_DOMAIN_PROXY :: Text Source #

Alias for the AuthDomain:proxy property. (Whether or not this is a proxy auth domain.)

pattern AUTH_DOMAIN_GENERIC_AUTH_DATA :: Text Source #

Alias for the AuthDomain:genericAuthData property. (The data to pass to the AuthDomainGenericAuthCallback.)

pattern AUTH_DOMAIN_FILTER_DATA :: Text Source #

Alias for the AuthDomain:filterData property. (Data to pass to the AuthDomainFilter.)

pattern AUTH_DOMAIN_FILTER :: Text Source #

Alias for the AuthDomain:filter property. (The AuthDomainFilter for the domain.)

pattern AUTH_DOMAIN_BASIC_AUTH_DATA :: Text Source #

Alias for the AuthDomainBasic:authData property. (The data to pass to the AuthDomainBasicAuthCallback.)

pattern AUTH_DOMAIN_ADD_PATH :: Text Source #

Alias for the AuthDomain:addPath property. (Shortcut for calling authDomainAddPath.)

pattern ADDRESS_SOCKADDR :: Text Source #

An alias for the Address:sockaddr property. (A pointer to the struct sockaddr for this address.)

pattern ADDRESS_PROTOCOL :: Text Source #

Alias for the Address:protocol property. (The URI scheme used with this address.)

pattern ADDRESS_PORT :: Text Source #

An alias for the Address:port property. (The port for this address.)

pattern ADDRESS_PHYSICAL :: Text Source #

An alias for the Address:physical property. (The stringified IP address for this address.)

pattern ADDRESS_NAME :: Text Source #

Alias for the Address:name property. (The hostname for this address.)

pattern ADDRESS_FAMILY :: Text Source #

Alias for the Address:family property. (The AddressFamily for this address.)

pattern ADDRESS_ANY_PORT :: Int32 Source #

This can be passed to any Address method that expects a port, to indicate that you don't care what port is used.