soup.types

Undocumented in source.

Members

Aliases

AuthDomainBasicAuthCallback
alias AuthDomainBasicAuthCallback = bool delegate(soup.auth_domain_basic.AuthDomainBasic domain, soup.server_message.ServerMessage msg, string username, string password)

Callback used by #SoupAuthDomainBasic for authentication purposes.

AuthDomainDigestAuthCallback
alias AuthDomainDigestAuthCallback = string delegate(soup.auth_domain_digest.AuthDomainDigest domain, soup.server_message.ServerMessage msg, string username)

Callback used by #SoupAuthDomainDigest for authentication purposes.

AuthDomainFilter
alias AuthDomainFilter = bool delegate(soup.auth_domain.AuthDomain domain, soup.server_message.ServerMessage msg)

The prototype for a #SoupAuthDomain filter.

AuthDomainGenericAuthCallback
alias AuthDomainGenericAuthCallback = bool delegate(soup.auth_domain.AuthDomain domain, soup.server_message.ServerMessage msg, string username)

The prototype for a #SoupAuthDomain generic authentication callback.

CacheType
alias CacheType = SoupCacheType
Cacheability
alias Cacheability = SoupCacheability
CookieJarAcceptPolicy
alias CookieJarAcceptPolicy = SoupCookieJarAcceptPolicy
DateFormat
alias DateFormat = SoupDateFormat
Encoding
alias Encoding = SoupEncoding
Expectation
alias Expectation = SoupExpectation
HTTPVersion
alias HTTPVersion = SoupHTTPVersion
LoggerFilter
alias LoggerFilter = soup.types.LoggerLogLevel delegate(soup.logger.Logger logger, soup.message.Message msg)

The prototype for a logging filter.

LoggerLogLevel
alias LoggerLogLevel = SoupLoggerLogLevel
LoggerPrinter
alias LoggerPrinter = void delegate(soup.logger.Logger logger, soup.types.LoggerLogLevel level, char direction, string data)

The prototype for a custom printing callback.

MemoryUse
alias MemoryUse = SoupMemoryUse
MessageFlags
alias MessageFlags = SoupMessageFlags
MessageHeadersForeachFunc
alias MessageHeadersForeachFunc = void delegate(string name, string value)

The callback passed to soup.message_headers.MessageHeaders.foreach_.

MessageHeadersType
alias MessageHeadersType = SoupMessageHeadersType
MessagePriority
alias MessagePriority = SoupMessagePriority
Range
alias Range = SoupRange
SameSitePolicy
alias SameSitePolicy = SoupSameSitePolicy
ServerCallback
alias ServerCallback = void delegate(soup.server.Server server, soup.server_message.ServerMessage msg, string path, string[string] query)

A callback used to handle requests to a classServer.

ServerListenOptions
alias ServerListenOptions = SoupServerListenOptions
ServerWebsocketCallback
alias ServerWebsocketCallback = void delegate(soup.server.Server server, soup.server_message.ServerMessage msg, string path, soup.websocket_connection.WebsocketConnection connection)

A callback used to handle WebSocket requests to a #SoupServer.

SessionError
alias SessionError = SoupSessionError
Status
alias Status = SoupStatus
TLDError
alias TLDError = SoupTLDError
URIComponent
alias URIComponent = SoupURIComponent
WebsocketCloseCode
alias WebsocketCloseCode = SoupWebsocketCloseCode
WebsocketConnectionType
alias WebsocketConnectionType = SoupWebsocketConnectionType
WebsocketDataType
alias WebsocketDataType = SoupWebsocketDataType
WebsocketError
alias WebsocketError = SoupWebsocketError
WebsocketState
alias WebsocketState = SoupWebsocketState

Manifest constants

COOKIE_MAX_AGE_ONE_DAY
enum COOKIE_MAX_AGE_ONE_DAY;

A constant corresponding to 1 day.

COOKIE_MAX_AGE_ONE_HOUR
enum COOKIE_MAX_AGE_ONE_HOUR;

A constant corresponding to 1 hour.

COOKIE_MAX_AGE_ONE_WEEK
enum COOKIE_MAX_AGE_ONE_WEEK;

A constant corresponding to 1 week.

COOKIE_MAX_AGE_ONE_YEAR
enum COOKIE_MAX_AGE_ONE_YEAR;

A constant corresponding to 1 year.

FORM_MIME_TYPE_MULTIPART
enum FORM_MIME_TYPE_MULTIPART;

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

FORM_MIME_TYPE_URLENCODED
enum FORM_MIME_TYPE_URLENCODED;

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

HSTS_POLICY_MAX_AGE_PAST
enum HSTS_POLICY_MAX_AGE_PAST;

An expiration date that is always in the past.

HTTP_URI_FLAGS
enum HTTP_URI_FLAGS;

The set of #GUriFlags libsoup expects all #GUri to use.

MAJOR_VERSION
enum MAJOR_VERSION;

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

MICRO_VERSION
enum MICRO_VERSION;

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

MINOR_VERSION
enum MINOR_VERSION;

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

VERSION_MIN_REQUIRED
enum VERSION_MIN_REQUIRED;

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