Package-level declarations

Types

Link copied to clipboard
open class Auth(pointer: <Error class: unknown class><<Error class: unknown class>>)

The abstract base class for handling authentication.

Link copied to clipboard
open class AuthDomain(pointer: <Error class: unknown class><<Error class: unknown class>>)

Server-side authentication.

Link copied to clipboard
class AuthDomainBasic(pointer: <Error class: unknown class><<Error class: unknown class>>) : AuthDomain

Server-side "Basic" authentication.

Link copied to clipboard
typealias AuthDomainBasicAuthCallback = (domain: AuthDomainBasic, msg: ServerMessage, username: String, password: String) -> Boolean

Callback used by #SoupAuthDomainBasic for authentication purposes.

Link copied to clipboard
class AuthDomainDigest(pointer: <Error class: unknown class><<Error class: unknown class>>) : AuthDomain

Server-side "Digest" authentication.

Link copied to clipboard
typealias AuthDomainDigestAuthCallback = (domain: AuthDomainDigest, msg: ServerMessage, username: String) -> String?

Callback used by #SoupAuthDomainDigest for authentication purposes.

Link copied to clipboard
typealias AuthDomainFilter = (domain: AuthDomain, msg: ServerMessage) -> Boolean

The prototype for a #SoupAuthDomain filter.

Link copied to clipboard
typealias AuthDomainGenericAuthCallback = (domain: AuthDomain, msg: ServerMessage, username: String) -> Boolean

The prototype for a #SoupAuthDomain generic authentication callback.

Link copied to clipboard
class AuthManager(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

HTTP client-side authentication handler.

Link copied to clipboard
open class Cache(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

File-based cache for HTTP resources.

Link copied to clipboard
class Cacheability(val mask: <Error class: unknown class>)

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

Link copied to clipboard

The type of cache; this affects what kinds of responses will be saved.

Link copied to clipboard
class ContentDecoder(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

Handles decoding of HTTP messages.

Link copied to clipboard
class ContentSniffer(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

Sniffs the mime type of messages.

Link copied to clipboard
class Cookie(pointer: <Error class: unknown class><<Error class: unknown class>>)

Implements HTTP cookies, as described by RFC 6265.

Link copied to clipboard
open class CookieJar(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

Automatic cookie handling for SoupSession.

Link copied to clipboard

The policy for accepting or rejecting cookies returned in responses.

Link copied to clipboard
class CookieJarDb(pointer: <Error class: unknown class><<Error class: unknown class>>) : CookieJar

Database-based Cookie Jar.

Link copied to clipboard
class CookieJarText(pointer: <Error class: unknown class><<Error class: unknown class>>) : CookieJar

Text-file-based ("cookies.txt") Cookie Jar

Link copied to clipboard

Date formats that func@date_time_to_string can use.

Link copied to clipboard

How a message body is encoded for transport

Link copied to clipboard
class Expectation(val mask: <Error class: unknown class>)

Represents the parsed value of the "Expect" header.

Link copied to clipboard
open class HstsEnforcer(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

Automatic HTTP Strict Transport Security enforcing for class@Session.

Link copied to clipboard
class HstsEnforcerDb(pointer: <Error class: unknown class><<Error class: unknown class>>) : HstsEnforcer

Persistent HTTP Strict Transport Security enforcer.

Link copied to clipboard
class HstsPolicy(pointer: <Error class: unknown class><<Error class: unknown class>>)

#SoupHSTSPolicy implements HTTP policies, as described by RFC 6797.

Link copied to clipboard

Indicates the HTTP protocol version being used.

Link copied to clipboard
class Logger(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

Debug logging support

Link copied to clipboard
typealias LoggerFilter = (logger: Logger, msg: Message) -> LoggerLogLevel

The prototype for a logging filter.

Link copied to clipboard

Describes the level of logging output to provide.

Link copied to clipboard
typealias LoggerPrinter = (logger: Logger, level: LoggerLogLevel, direction: Char, data: String) -> Unit

The prototype for a custom printing callback.

Link copied to clipboard

The lifetime of the memory being passed.

Link copied to clipboard
class Message(pointer: <Error class: unknown class><<Error class: unknown class>>)

Represents an HTTP message being sent or received.

Link copied to clipboard
class MessageBody(pointer: <Error class: unknown class><<Error class: unknown class>>)

#SoupMessageBody represents the request or response body of a class@Message.

Link copied to clipboard
class MessageFlags(val mask: <Error class: unknown class>)

Various flags that can be set on a #SoupMessage to alter its behavior.

Link copied to clipboard
class MessageHeaders(pointer: <Error class: unknown class><<Error class: unknown class>>)

The HTTP message headers associated with a request or response.

Link copied to clipboard
typealias MessageHeadersForeachFunc = (name: String, value: String) -> Unit

The callback passed to method@MessageHeaders.foreach.

Link copied to clipboard
class MessageHeadersIter(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

An opaque type used to iterate over a %SoupMessageHeaders structure.

Link copied to clipboard

Value passed to ctor@MessageHeaders.new to set certain default behaviors.

Link copied to clipboard
class MessageMetrics(pointer: <Error class: unknown class><<Error class: unknown class>>)

Contains metrics collected while loading a class@Message either from the network or the disk cache.

Link copied to clipboard

Priorities that can be set on a class@Message to instruct the message queue to process it before any other message with lower priority.

Link copied to clipboard
class Multipart(pointer: <Error class: unknown class><<Error class: unknown class>>)

Represents a multipart HTTP message body, parsed according to the syntax of RFC 2046.

Link copied to clipboard
class MultipartInputStream(pointer: <Error class: unknown class><<Error class: unknown class>>)

Handles streams of multipart messages.

Link copied to clipboard
class Range(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)

Represents a byte range as used in the Range header.

Link copied to clipboard

Represents the same-site policies of a cookie.

Link copied to clipboard
open class Server(pointer: <Error class: unknown class><<Error class: unknown class>>)

A HTTP server.

Link copied to clipboard
typealias ServerCallback = (server: Server, msg: ServerMessage, path: String, <Error class: unknown class>?) -> Unit

A callback used to handle requests to a class@Server.

Link copied to clipboard
class ServerListenOptions(val mask: <Error class: unknown class>)

Options to pass to method@Server.listen, etc.

Link copied to clipboard
class ServerMessage(pointer: <Error class: unknown class><<Error class: unknown class>>)

An HTTP server request and response pair.

Link copied to clipboard
typealias ServerWebsocketCallback = (server: Server, msg: ServerMessage, path: String, connection: WebsocketConnection) -> Unit

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

Link copied to clipboard
open class Session(pointer: <Error class: unknown class><<Error class: unknown class>>)

Soup session state object.

Link copied to clipboard

A #SoupSession error.

Link copied to clipboard
class SessionErrorException(error: <Error class: unknown class>, val code: SessionError)
Link copied to clipboard
interface SessionFeature

Interface for miscellaneous class@Session features.

Link copied to clipboard
object Soup
Link copied to clipboard
Link copied to clipboard
enum Status : Enum<Status>

These represent the known HTTP status code values, plus various network and internal errors.

Link copied to clipboard

Error codes for %SOUP_TLD_ERROR.

Link copied to clipboard
class TldErrorException(error: <Error class: unknown class>, val code: TldError)
Link copied to clipboard

Enum values passed to func@uri_copy to indicate the components of the URI that should be updated with the given values.

Link copied to clipboard

Pre-defined close codes that can be passed to method@WebsocketConnection.close or received from method@WebsocketConnection.get_close_code.

Link copied to clipboard
class WebsocketConnection(pointer: <Error class: unknown class><<Error class: unknown class>>)

The WebSocket Protocol

Link copied to clipboard

The type of a class@WebsocketConnection.

Link copied to clipboard

The type of data contained in a signal@WebsocketConnection::message signal.

Link copied to clipboard

WebSocket-related errors.

Link copied to clipboard
class WebsocketErrorException(error: <Error class: unknown class>, val code: WebsocketError)
Link copied to clipboard
open class WebsocketExtension(pointer: <Error class: unknown class><<Error class: unknown class>>)

A WebSocket extension

Link copied to clipboard
class WebsocketExtensionDeflate(pointer: <Error class: unknown class><<Error class: unknown class>>) : WebsocketExtension

A SoupWebsocketExtensionDeflate is a class@WebsocketExtension implementing permessage-deflate (RFC 7692).

Link copied to clipboard
class WebsocketExtensionManager(pointer: <Error class: unknown class><<Error class: unknown class>>) : SessionFeature

SoupWebsocketExtensionManager is the iface@SessionFeature that handles WebSockets extensions for a class@Session.

Link copied to clipboard

The state of the WebSocket connection.

Properties

Link copied to clipboard
val AuthDomainBasicAuthCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class>>>
Link copied to clipboard
val AuthDomainDigestAuthCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class><<Error class: unknown class>>?>>
Link copied to clipboard
val AuthDomainFilterFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class>>>
Link copied to clipboard
val AuthDomainGenericAuthCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class>>>
Link copied to clipboard
val LoggerFilterFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> <Error class: unknown class>>>
Link copied to clipboard
val LoggerPrinterFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val MessageHeadersForeachFuncFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>
Link copied to clipboard
val ServerCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>?) -> Unit>>
Link copied to clipboard
val ServerWebsocketCallbackFunc: <Error class: unknown class><<Error class: unknown class><(<Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>, <Error class: unknown class><<Error class: unknown class>>) -> Unit>>