gi-soup 2.4.25 → 2.4.26
raw patch · 4 files changed
+9/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: text
API changes (from Hackage documentation)
+ GI.Soup.Functions: valueHashInsertValue :: (HasCallStack, MonadIO m) => Map Text GValue -> Text -> GValue -> m ()
+ GI.Soup.Functions: valueHashNew :: (HasCallStack, MonadIO m) => m (Map Text GValue)
- GI.Soup.Callbacks: type AddressCallback = Address " /@addr@/: the t'GI.Soup.Objects.Address.Address' that was resolved" -> Word32 " /@status@/: 'GI.Soup.Enums.StatusOk', 'GI.Soup.Enums.StatusCantResolve', or 'GI.Soup.Enums.StatusCancelled'" -> IO ()
+ GI.Soup.Callbacks: type AddressCallback = -- | /@addr@/: the t'GI.Soup.Objects.Address.Address' that was resolved Address -> -- | /@status@/: 'GI.Soup.Enums.StatusOk', 'GI.Soup.Enums.StatusCantResolve', or -- 'GI.Soup.Enums.StatusCancelled' Word32 -> IO ()
- GI.Soup.Callbacks: type AddressCallback_WithClosures = Address " /@addr@/: the t'GI.Soup.Objects.Address.Address' that was resolved" -> Word32 " /@status@/: 'GI.Soup.Enums.StatusOk', 'GI.Soup.Enums.StatusCantResolve', or 'GI.Soup.Enums.StatusCancelled'" -> Ptr () " /@userData@/: the user data that was passed to 'GI.Soup.Objects.Address.addressResolveAsync'" -> IO ()
+ GI.Soup.Callbacks: type AddressCallback_WithClosures = -- | /@addr@/: the t'GI.Soup.Objects.Address.Address' that was resolved Address -> -- | /@status@/: 'GI.Soup.Enums.StatusOk', 'GI.Soup.Enums.StatusCantResolve', or -- 'GI.Soup.Enums.StatusCancelled' Word32 -> -- | /@userData@/: the user data that was passed to -- 'GI.Soup.Objects.Address.addressResolveAsync' Ptr () -> IO ()
- GI.Soup.Callbacks: type AuthDomainBasicAuthCallback = AuthDomainBasic " /@domain@/: the domain" -> Message " /@msg@/: the message being authenticated" -> Text " /@username@/: the username provided by the client" -> Text " /@password@/: the password provided by the client" -> IO Bool " __Returns:__ 'P.True' if /@username@/ and /@password@/ are valid"
+ GI.Soup.Callbacks: type AuthDomainBasicAuthCallback = -- | /@domain@/: the domain AuthDomainBasic -> -- | /@msg@/: the message being authenticated Message -> -- | /@username@/: the username provided by the client Text -> -- | /@password@/: the password provided by the client Text -> -- | __Returns:__ 'P.True' if /@username@/ and /@password@/ are valid IO Bool
- GI.Soup.Callbacks: type AuthDomainBasicAuthCallback_WithClosures = AuthDomainBasic " /@domain@/: the domain" -> Message " /@msg@/: the message being authenticated" -> Text " /@username@/: the username provided by the client" -> Text " /@password@/: the password provided by the client" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.AuthDomainBasic.authDomainBasicSetAuthCallback'" -> IO Bool " __Returns:__ 'P.True' if /@username@/ and /@password@/ are valid"
+ GI.Soup.Callbacks: type AuthDomainBasicAuthCallback_WithClosures = -- | /@domain@/: the domain AuthDomainBasic -> -- | /@msg@/: the message being authenticated Message -> -- | /@username@/: the username provided by the client Text -> -- | /@password@/: the password provided by the client Text -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.AuthDomainBasic.authDomainBasicSetAuthCallback' Ptr () -> -- | __Returns:__ 'P.True' if /@username@/ and /@password@/ are valid IO Bool
- GI.Soup.Callbacks: type AuthDomainDigestAuthCallback = AuthDomainDigest " /@domain@/: the domain" -> Message " /@msg@/: the message being authenticated" -> Text " /@username@/: the username provided by the client" -> IO (Maybe Text) " __Returns:__ the encoded password, or 'P.Nothing' if /@username@/ is not a valid user. /@domain@/ will free the password when it is done with it."
+ GI.Soup.Callbacks: type AuthDomainDigestAuthCallback = -- | /@domain@/: the domain AuthDomainDigest -> -- | /@msg@/: the message being authenticated Message -> -- | /@username@/: the username provided by the client Text -> -- | __Returns:__ the encoded password, or 'P.Nothing' if -- /@username@/ is not a valid user. /@domain@/ will free the password when -- it is done with it. IO (Maybe Text)
- GI.Soup.Callbacks: type AuthDomainDigestAuthCallback_WithClosures = AuthDomainDigest " /@domain@/: the domain" -> Message " /@msg@/: the message being authenticated" -> Text " /@username@/: the username provided by the client" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.AuthDomainDigest.authDomainDigestSetAuthCallback'" -> IO (Maybe Text) " __Returns:__ the encoded password, or 'P.Nothing' if /@username@/ is not a valid user. /@domain@/ will free the password when it is done with it."
+ GI.Soup.Callbacks: type AuthDomainDigestAuthCallback_WithClosures = -- | /@domain@/: the domain AuthDomainDigest -> -- | /@msg@/: the message being authenticated Message -> -- | /@username@/: the username provided by the client Text -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.AuthDomainDigest.authDomainDigestSetAuthCallback' Ptr () -> -- | __Returns:__ the encoded password, or 'P.Nothing' if -- /@username@/ is not a valid user. /@domain@/ will free the password when -- it is done with it. IO (Maybe Text)
- GI.Soup.Callbacks: type AuthDomainFilter = AuthDomain " /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain'" -> Message " /@msg@/: a t'GI.Soup.Objects.Message.Message'" -> IO Bool " __Returns:__ 'P.True' if /@msg@/ requires authentication, 'P.False' if not."
+ GI.Soup.Callbacks: type AuthDomainFilter = -- | /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain' AuthDomain -> -- | /@msg@/: a t'GI.Soup.Objects.Message.Message' Message -> -- | __Returns:__ 'P.True' if /@msg@/ requires authentication, 'P.False' if not. IO Bool
- GI.Soup.Callbacks: type AuthDomainFilter_WithClosures = AuthDomain " /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain'" -> Message " /@msg@/: a t'GI.Soup.Objects.Message.Message'" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.AuthDomain.authDomainSetFilter'" -> IO Bool " __Returns:__ 'P.True' if /@msg@/ requires authentication, 'P.False' if not."
+ GI.Soup.Callbacks: type AuthDomainFilter_WithClosures = -- | /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain' AuthDomain -> -- | /@msg@/: a t'GI.Soup.Objects.Message.Message' Message -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.AuthDomain.authDomainSetFilter' Ptr () -> -- | __Returns:__ 'P.True' if /@msg@/ requires authentication, 'P.False' if not. IO Bool
- GI.Soup.Callbacks: type AuthDomainGenericAuthCallback = AuthDomain " /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain'" -> Message " /@msg@/: the t'GI.Soup.Objects.Message.Message' being authenticated" -> Text " /@username@/: the username from /@msg@/" -> IO Bool " __Returns:__ 'P.True' if /@msg@/ is authenticated, 'P.False' if not."
+ GI.Soup.Callbacks: type AuthDomainGenericAuthCallback = -- | /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain' AuthDomain -> -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' being authenticated Message -> -- | /@username@/: the username from /@msg@/ Text -> -- | __Returns:__ 'P.True' if /@msg@/ is authenticated, 'P.False' if not. IO Bool
- GI.Soup.Callbacks: type AuthDomainGenericAuthCallback_WithClosures = AuthDomain " /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain'" -> Message " /@msg@/: the t'GI.Soup.Objects.Message.Message' being authenticated" -> Text " /@username@/: the username from /@msg@/" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.AuthDomain.authDomainSetGenericAuthCallback'" -> IO Bool " __Returns:__ 'P.True' if /@msg@/ is authenticated, 'P.False' if not."
+ GI.Soup.Callbacks: type AuthDomainGenericAuthCallback_WithClosures = -- | /@domain@/: a t'GI.Soup.Objects.AuthDomain.AuthDomain' AuthDomain -> -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' being authenticated Message -> -- | /@username@/: the username from /@msg@/ Text -> -- | /@userData@/: the data passed to -- 'GI.Soup.Objects.AuthDomain.authDomainSetGenericAuthCallback' Ptr () -> -- | __Returns:__ 'P.True' if /@msg@/ is authenticated, 'P.False' if not. IO Bool
- GI.Soup.Callbacks: type ChunkAllocator = Message " /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for" -> Word64 " /@maxLen@/: the maximum length that will be read, or 0." -> IO (Maybe Buffer) " __Returns:__ the new buffer (or 'P.Nothing')"
+ GI.Soup.Callbacks: type ChunkAllocator = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for Message -> -- | /@maxLen@/: the maximum length that will be read, or 0. Word64 -> -- | __Returns:__ the new buffer (or 'P.Nothing') IO (Maybe Buffer)
- GI.Soup.Callbacks: type ChunkAllocator_WithClosures = Message " /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for" -> Word64 " /@maxLen@/: the maximum length that will be read, or 0." -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.Message.messageSetChunkAllocator'" -> IO (Maybe Buffer) " __Returns:__ the new buffer (or 'P.Nothing')"
+ GI.Soup.Callbacks: type ChunkAllocator_WithClosures = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' the chunk is being allocated for Message -> -- | /@maxLen@/: the maximum length that will be read, or 0. Word64 -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Message.messageSetChunkAllocator' Ptr () -> -- | __Returns:__ the new buffer (or 'P.Nothing') IO (Maybe Buffer)
- GI.Soup.Callbacks: type LoggerFilter = Logger " /@logger@/: the t'GI.Soup.Objects.Logger.Logger'" -> Message " /@msg@/: the message being logged" -> IO LoggerLogLevel " __Returns:__ a t'GI.Soup.Enums.LoggerLogLevel' value indicating how much of the message to log"
+ GI.Soup.Callbacks: type LoggerFilter = -- | /@logger@/: the t'GI.Soup.Objects.Logger.Logger' Logger -> -- | /@msg@/: the message being logged Message -> -- | __Returns:__ a t'GI.Soup.Enums.LoggerLogLevel' value indicating how much of -- the message to log IO LoggerLogLevel
- GI.Soup.Callbacks: type LoggerFilter_WithClosures = Logger " /@logger@/: the t'GI.Soup.Objects.Logger.Logger'" -> Message " /@msg@/: the message being logged" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.Logger.loggerSetRequestFilter' or 'GI.Soup.Objects.Logger.loggerSetResponseFilter'" -> IO LoggerLogLevel " __Returns:__ a t'GI.Soup.Enums.LoggerLogLevel' value indicating how much of the message to log"
+ GI.Soup.Callbacks: type LoggerFilter_WithClosures = -- | /@logger@/: the t'GI.Soup.Objects.Logger.Logger' Logger -> -- | /@msg@/: the message being logged Message -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Logger.loggerSetRequestFilter' -- or 'GI.Soup.Objects.Logger.loggerSetResponseFilter' Ptr () -> -- | __Returns:__ a t'GI.Soup.Enums.LoggerLogLevel' value indicating how much of -- the message to log IO LoggerLogLevel
- GI.Soup.Callbacks: type LoggerPrinter = Logger " /@logger@/: the t'GI.Soup.Objects.Logger.Logger'" -> LoggerLogLevel " /@level@/: the level of the information being printed." -> Int8 " /@direction@/: a single-character prefix to /@data@/" -> Text " /@data@/: data to print" -> IO ()
+ GI.Soup.Callbacks: type LoggerPrinter = -- | /@logger@/: the t'GI.Soup.Objects.Logger.Logger' Logger -> -- | /@level@/: the level of the information being printed. LoggerLogLevel -> -- | /@direction@/: a single-character prefix to /@data@/ Int8 -> -- | /@data@/: data to print Text -> IO ()
- GI.Soup.Callbacks: type LoggerPrinter_WithClosures = Logger " /@logger@/: the t'GI.Soup.Objects.Logger.Logger'" -> LoggerLogLevel " /@level@/: the level of the information being printed." -> Int8 " /@direction@/: a single-character prefix to /@data@/" -> Text " /@data@/: data to print" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.Logger.loggerSetPrinter'" -> IO ()
+ GI.Soup.Callbacks: type LoggerPrinter_WithClosures = -- | /@logger@/: the t'GI.Soup.Objects.Logger.Logger' Logger -> -- | /@level@/: the level of the information being printed. LoggerLogLevel -> -- | /@direction@/: a single-character prefix to /@data@/ Int8 -> -- | /@data@/: data to print Text -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Logger.loggerSetPrinter' Ptr () -> IO ()
- GI.Soup.Callbacks: type MessageHeadersForeachFunc = Text " /@name@/: the header name" -> Text " /@value@/: the header value" -> IO ()
+ GI.Soup.Callbacks: type MessageHeadersForeachFunc = -- | /@name@/: the header name Text -> -- | /@value@/: the header value Text -> IO ()
- GI.Soup.Callbacks: type MessageHeadersForeachFunc_WithClosures = Text " /@name@/: the header name" -> Text " /@value@/: the header value" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Structs.MessageHeaders.messageHeadersForeach'" -> IO ()
+ GI.Soup.Callbacks: type MessageHeadersForeachFunc_WithClosures = -- | /@name@/: the header name Text -> -- | /@value@/: the header value Text -> -- | /@userData@/: the data passed to 'GI.Soup.Structs.MessageHeaders.messageHeadersForeach' Ptr () -> IO ()
- GI.Soup.Callbacks: type ProxyURIResolverCallback = ProxyURIResolver " /@resolver@/: the t'GI.Soup.Interfaces.ProxyURIResolver.ProxyURIResolver'" -> Word32 " /@status@/: a t'GI.Soup.Enums.Status'" -> URI " /@proxyUri@/: the resolved proxy URI, or 'P.Nothing'" -> IO ()
+ GI.Soup.Callbacks: type ProxyURIResolverCallback = -- | /@resolver@/: the t'GI.Soup.Interfaces.ProxyURIResolver.ProxyURIResolver' ProxyURIResolver -> -- | /@status@/: a t'GI.Soup.Enums.Status' Word32 -> -- | /@proxyUri@/: the resolved proxy URI, or 'P.Nothing' URI -> IO ()
- GI.Soup.Callbacks: type ProxyURIResolverCallback_WithClosures = ProxyURIResolver " /@resolver@/: the t'GI.Soup.Interfaces.ProxyURIResolver.ProxyURIResolver'" -> Word32 " /@status@/: a t'GI.Soup.Enums.Status'" -> URI " /@proxyUri@/: the resolved proxy URI, or 'P.Nothing'" -> Ptr () " /@userData@/: data passed to 'GI.Soup.Interfaces.ProxyURIResolver.proxyURIResolverGetProxyUriAsync'" -> IO ()
+ GI.Soup.Callbacks: type ProxyURIResolverCallback_WithClosures = -- | /@resolver@/: the t'GI.Soup.Interfaces.ProxyURIResolver.ProxyURIResolver' ProxyURIResolver -> -- | /@status@/: a t'GI.Soup.Enums.Status' Word32 -> -- | /@proxyUri@/: the resolved proxy URI, or 'P.Nothing' URI -> -- | /@userData@/: data passed to 'GI.Soup.Interfaces.ProxyURIResolver.proxyURIResolverGetProxyUriAsync' Ptr () -> IO ()
- GI.Soup.Callbacks: type ServerCallback = Server " /@server@/: the t'GI.Soup.Objects.Server.Server'" -> Message " /@msg@/: the message being processed" -> Text " /@path@/: the path component of /@msg@/\'s Request-URI" -> Maybe (Map Text Text) " /@query@/: the parsed query component of /@msg@/\'s Request-URI" -> ClientContext " /@client@/: additional contextual information about the client" -> IO ()
+ GI.Soup.Callbacks: type ServerCallback = -- | /@server@/: the t'GI.Soup.Objects.Server.Server' Server -> -- | /@msg@/: the message being processed Message -> -- | /@path@/: the path component of /@msg@/\'s Request-URI Text -> -- | /@query@/: the parsed query -- component of /@msg@/\'s Request-URI Maybe (Map Text Text) -> -- | /@client@/: additional contextual information about the client ClientContext -> IO ()
- GI.Soup.Callbacks: type ServerCallback_WithClosures = Server " /@server@/: the t'GI.Soup.Objects.Server.Server'" -> Message " /@msg@/: the message being processed" -> Text " /@path@/: the path component of /@msg@/\'s Request-URI" -> Maybe (Map Text Text) " /@query@/: the parsed query component of /@msg@/\'s Request-URI" -> ClientContext " /@client@/: additional contextual information about the client" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.Server.serverAddHandler' or 'GI.Soup.Objects.Server.serverAddEarlyHandler'." -> IO ()
+ GI.Soup.Callbacks: type ServerCallback_WithClosures = -- | /@server@/: the t'GI.Soup.Objects.Server.Server' Server -> -- | /@msg@/: the message being processed Message -> -- | /@path@/: the path component of /@msg@/\'s Request-URI Text -> -- | /@query@/: the parsed query -- component of /@msg@/\'s Request-URI Maybe (Map Text Text) -> -- | /@client@/: additional contextual information about the client ClientContext -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Server.serverAddHandler' or -- 'GI.Soup.Objects.Server.serverAddEarlyHandler'. Ptr () -> IO ()
- GI.Soup.Callbacks: type ServerWebsocketCallback = Server " /@server@/: the t'GI.Soup.Objects.Server.Server'" -> WebsocketConnection " /@connection@/: the newly created WebSocket connection" -> Text " /@path@/: the path component of /@msg@/\'s Request-URI" -> ClientContext " /@client@/: additional contextual information about the client" -> IO ()
+ GI.Soup.Callbacks: type ServerWebsocketCallback = -- | /@server@/: the t'GI.Soup.Objects.Server.Server' Server -> -- | /@connection@/: the newly created WebSocket connection WebsocketConnection -> -- | /@path@/: the path component of /@msg@/\'s Request-URI Text -> -- | /@client@/: additional contextual information about the client ClientContext -> IO ()
- GI.Soup.Callbacks: type ServerWebsocketCallback_WithClosures = Server " /@server@/: the t'GI.Soup.Objects.Server.Server'" -> WebsocketConnection " /@connection@/: the newly created WebSocket connection" -> Text " /@path@/: the path component of /@msg@/\'s Request-URI" -> ClientContext " /@client@/: additional contextual information about the client" -> Ptr () " /@userData@/: the data passed to /@soupServerAddHandler@/" -> IO ()
+ GI.Soup.Callbacks: type ServerWebsocketCallback_WithClosures = -- | /@server@/: the t'GI.Soup.Objects.Server.Server' Server -> -- | /@connection@/: the newly created WebSocket connection WebsocketConnection -> -- | /@path@/: the path component of /@msg@/\'s Request-URI Text -> -- | /@client@/: additional contextual information about the client ClientContext -> -- | /@userData@/: the data passed to /@soupServerAddHandler@/ Ptr () -> IO ()
- GI.Soup.Callbacks: type SessionCallback = Session " /@session@/: the session" -> Message " /@msg@/: the message that has finished" -> IO ()
+ GI.Soup.Callbacks: type SessionCallback = -- | /@session@/: the session Session -> -- | /@msg@/: the message that has finished Message -> IO ()
- GI.Soup.Callbacks: type SessionCallback_WithClosures = Session " /@session@/: the session" -> Message " /@msg@/: the message that has finished" -> Ptr () " /@userData@/: the data passed to soup_session_queue_message" -> IO ()
+ GI.Soup.Callbacks: type SessionCallback_WithClosures = -- | /@session@/: the session Session -> -- | /@msg@/: the message that has finished Message -> -- | /@userData@/: the data passed to soup_session_queue_message Ptr () -> IO ()
- GI.Soup.Callbacks: type SessionConnectProgressCallback = Session " /@session@/: the t'GI.Soup.Objects.Session.Session'" -> SocketClientEvent " /@event@/: a t'GI.Gio.Enums.SocketClientEvent'" -> IOStream " /@connection@/: the current state of the network connection" -> IO ()
+ GI.Soup.Callbacks: type SessionConnectProgressCallback = -- | /@session@/: the t'GI.Soup.Objects.Session.Session' Session -> -- | /@event@/: a t'GI.Gio.Enums.SocketClientEvent' SocketClientEvent -> -- | /@connection@/: the current state of the network connection IOStream -> IO ()
- GI.Soup.Callbacks: type SessionConnectProgressCallback_WithClosures = Session " /@session@/: the t'GI.Soup.Objects.Session.Session'" -> SocketClientEvent " /@event@/: a t'GI.Gio.Enums.SocketClientEvent'" -> IOStream " /@connection@/: the current state of the network connection" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.Session.sessionConnectAsync'." -> IO ()
+ GI.Soup.Callbacks: type SessionConnectProgressCallback_WithClosures = -- | /@session@/: the t'GI.Soup.Objects.Session.Session' Session -> -- | /@event@/: a t'GI.Gio.Enums.SocketClientEvent' SocketClientEvent -> -- | /@connection@/: the current state of the network connection IOStream -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Session.sessionConnectAsync'. Ptr () -> IO ()
- GI.Soup.Callbacks: type SocketCallback = Socket " /@sock@/: the t'GI.Soup.Objects.Socket.Socket'" -> Word32 " /@status@/: an HTTP status code indicating success or failure" -> IO ()
+ GI.Soup.Callbacks: type SocketCallback = -- | /@sock@/: the t'GI.Soup.Objects.Socket.Socket' Socket -> -- | /@status@/: an HTTP status code indicating success or failure Word32 -> IO ()
- GI.Soup.Callbacks: type SocketCallback_WithClosures = Socket " /@sock@/: the t'GI.Soup.Objects.Socket.Socket'" -> Word32 " /@status@/: an HTTP status code indicating success or failure" -> Ptr () " /@userData@/: the data passed to 'GI.Soup.Objects.Socket.socketConnectAsync'" -> IO ()
+ GI.Soup.Callbacks: type SocketCallback_WithClosures = -- | /@sock@/: the t'GI.Soup.Objects.Socket.Socket' Socket -> -- | /@status@/: an HTTP status code indicating success or failure Word32 -> -- | /@userData@/: the data passed to 'GI.Soup.Objects.Socket.socketConnectAsync' Ptr () -> IO ()
- GI.Soup.Objects.AuthManager: type AuthManagerAuthenticateCallback = Message " /@msg@/: the t'GI.Soup.Objects.Message.Message' being sent" -> Auth " /@auth@/: the t'GI.Soup.Objects.Auth.Auth' to authenticate" -> Bool " /@retrying@/: 'P.True' if this is the second (or later) attempt" -> IO ()
+ GI.Soup.Objects.AuthManager: type AuthManagerAuthenticateCallback = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' being sent Message -> -- | /@auth@/: the t'GI.Soup.Objects.Auth.Auth' to authenticate Auth -> -- | /@retrying@/: 'P.True' if this is the second (or later) attempt Bool -> IO ()
- GI.Soup.Objects.CookieJar: type CookieJarChangedCallback = Cookie " /@oldCookie@/: the old t'GI.Soup.Structs.Cookie.Cookie' value" -> Cookie " /@newCookie@/: the new t'GI.Soup.Structs.Cookie.Cookie' value" -> IO ()
+ GI.Soup.Objects.CookieJar: type CookieJarChangedCallback = -- | /@oldCookie@/: the old t'GI.Soup.Structs.Cookie.Cookie' value Cookie -> -- | /@newCookie@/: the new t'GI.Soup.Structs.Cookie.Cookie' value Cookie -> IO ()
- GI.Soup.Objects.HSTSEnforcer: type HSTSEnforcerChangedCallback = HSTSPolicy " /@oldPolicy@/: the old t'GI.Soup.Structs.HSTSPolicy.HSTSPolicy' value" -> HSTSPolicy " /@newPolicy@/: the new t'GI.Soup.Structs.HSTSPolicy.HSTSPolicy' value" -> IO ()
+ GI.Soup.Objects.HSTSEnforcer: type HSTSEnforcerChangedCallback = -- | /@oldPolicy@/: the old t'GI.Soup.Structs.HSTSPolicy.HSTSPolicy' value HSTSPolicy -> -- | /@newPolicy@/: the new t'GI.Soup.Structs.HSTSPolicy.HSTSPolicy' value HSTSPolicy -> IO ()
- GI.Soup.Objects.HSTSEnforcer: type HSTSEnforcerHstsEnforcedCallback = Message " /@message@/: the message for which HSTS is being enforced" -> IO ()
+ GI.Soup.Objects.HSTSEnforcer: type HSTSEnforcerHstsEnforcedCallback = -- | /@message@/: the message for which HSTS is being enforced Message -> IO ()
- GI.Soup.Objects.Message: type MessageContentSniffedCallback = Text " /@type@/: the content type that we got from sniffing" -> Map Text Text " /@params@/: a t'GI.GLib.Structs.HashTable.HashTable' with the parameters" -> IO ()
+ GI.Soup.Objects.Message: type MessageContentSniffedCallback = -- | /@type@/: the content type that we got from sniffing Text -> -- | /@params@/: a t'GI.GLib.Structs.HashTable.HashTable' with the parameters Map Text Text -> IO ()
- GI.Soup.Objects.Message: type MessageGotChunkCallback = Buffer " /@chunk@/: the just-read chunk" -> IO ()
+ GI.Soup.Objects.Message: type MessageGotChunkCallback = -- | /@chunk@/: the just-read chunk Buffer -> IO ()
- GI.Soup.Objects.Message: type MessageNetworkEventCallback = SocketClientEvent " /@event@/: the network event" -> IOStream " /@connection@/: the current state of the network connection" -> IO ()
+ GI.Soup.Objects.Message: type MessageNetworkEventCallback = -- | /@event@/: the network event SocketClientEvent -> -- | /@connection@/: the current state of the network connection IOStream -> IO ()
- GI.Soup.Objects.Message: type MessageWroteBodyDataCallback = Buffer " /@chunk@/: the data written" -> IO ()
+ GI.Soup.Objects.Message: type MessageWroteBodyDataCallback = -- | /@chunk@/: the data written Buffer -> IO ()
- GI.Soup.Objects.Server: type ServerRequestAbortedCallback = Message " /@message@/: the message" -> ClientContext " /@client@/: the client context" -> IO ()
+ GI.Soup.Objects.Server: type ServerRequestAbortedCallback = -- | /@message@/: the message Message -> -- | /@client@/: the client context ClientContext -> IO ()
- GI.Soup.Objects.Server: type ServerRequestFinishedCallback = Message " /@message@/: the message" -> ClientContext " /@client@/: the client context" -> IO ()
+ GI.Soup.Objects.Server: type ServerRequestFinishedCallback = -- | /@message@/: the message Message -> -- | /@client@/: the client context ClientContext -> IO ()
- GI.Soup.Objects.Server: type ServerRequestReadCallback = Message " /@message@/: the message" -> ClientContext " /@client@/: the client context" -> IO ()
+ GI.Soup.Objects.Server: type ServerRequestReadCallback = -- | /@message@/: the message Message -> -- | /@client@/: the client context ClientContext -> IO ()
- GI.Soup.Objects.Server: type ServerRequestStartedCallback = Message " /@message@/: the new message" -> ClientContext " /@client@/: the client context" -> IO ()
+ GI.Soup.Objects.Server: type ServerRequestStartedCallback = -- | /@message@/: the new message Message -> -- | /@client@/: the client context ClientContext -> IO ()
- GI.Soup.Objects.Session: type SessionAuthenticateCallback = Message " /@msg@/: the t'GI.Soup.Objects.Message.Message' being sent" -> Auth " /@auth@/: the t'GI.Soup.Objects.Auth.Auth' to authenticate" -> Bool " /@retrying@/: 'P.True' if this is the second (or later) attempt" -> IO ()
+ GI.Soup.Objects.Session: type SessionAuthenticateCallback = -- | /@msg@/: the t'GI.Soup.Objects.Message.Message' being sent Message -> -- | /@auth@/: the t'GI.Soup.Objects.Auth.Auth' to authenticate Auth -> -- | /@retrying@/: 'P.True' if this is the second (or later) attempt Bool -> IO ()
- GI.Soup.Objects.Session: type SessionConnectionCreatedCallback = Object " /@connection@/: the connection" -> IO ()
+ GI.Soup.Objects.Session: type SessionConnectionCreatedCallback = -- | /@connection@/: the connection Object -> IO ()
- GI.Soup.Objects.Session: type SessionRequestQueuedCallback = Message " /@msg@/: the request that was queued" -> IO ()
+ GI.Soup.Objects.Session: type SessionRequestQueuedCallback = -- | /@msg@/: the request that was queued Message -> IO ()
- GI.Soup.Objects.Session: type SessionRequestStartedCallback = Message " /@msg@/: the request being sent" -> Socket " /@socket@/: the socket the request is being sent on" -> IO ()
+ GI.Soup.Objects.Session: type SessionRequestStartedCallback = -- | /@msg@/: the request being sent Message -> -- | /@socket@/: the socket the request is being sent on Socket -> IO ()
- GI.Soup.Objects.Session: type SessionRequestUnqueuedCallback = Message " /@msg@/: the request that was unqueued" -> IO ()
+ GI.Soup.Objects.Session: type SessionRequestUnqueuedCallback = -- | /@msg@/: the request that was unqueued Message -> IO ()
- GI.Soup.Objects.Session: type SessionTunnelingCallback = Object " /@connection@/: the connection" -> IO ()
+ GI.Soup.Objects.Session: type SessionTunnelingCallback = -- | /@connection@/: the connection Object -> IO ()
- GI.Soup.Objects.Socket: socketReadUntil :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Ptr () -> Word64 -> Bool -> Maybe b -> m (SocketIOStatus, Word64)
+ GI.Soup.Objects.Socket: socketReadUntil :: (HasCallStack, MonadIO m, IsSocket a, IsCancellable b) => a -> ByteString -> Ptr () -> Word64 -> Maybe b -> m (SocketIOStatus, Word64, Bool)
- GI.Soup.Objects.Socket: type SocketEventCallback = SocketClientEvent " /@event@/: the event that occurred" -> IOStream " /@connection@/: the current connection state" -> IO ()
+ GI.Soup.Objects.Socket: type SocketEventCallback = -- | /@event@/: the event that occurred SocketClientEvent -> -- | /@connection@/: the current connection state IOStream -> IO ()
- GI.Soup.Objects.Socket: type SocketNewConnectionCallback = Socket " /@new@/: the new socket" -> IO ()
+ GI.Soup.Objects.Socket: type SocketNewConnectionCallback = -- | /@new@/: the new socket Socket -> IO ()
- GI.Soup.Objects.WebsocketConnection: type WebsocketConnectionErrorCallback = GError " /@error@/: the error that occured" -> IO ()
+ GI.Soup.Objects.WebsocketConnection: type WebsocketConnectionErrorCallback = -- | /@error@/: the error that occured GError -> IO ()
- GI.Soup.Objects.WebsocketConnection: type WebsocketConnectionMessageCallback = Int32 " /@type@/: the type of message contents" -> Bytes " /@message@/: the message data" -> IO ()
+ GI.Soup.Objects.WebsocketConnection: type WebsocketConnectionMessageCallback = -- | /@type@/: the type of message contents Int32 -> -- | /@message@/: the message data Bytes -> IO ()
- GI.Soup.Objects.WebsocketConnection: type WebsocketConnectionPongCallback = Bytes " /@message@/: the application data (if any)" -> IO ()
+ GI.Soup.Objects.WebsocketConnection: type WebsocketConnectionPongCallback = -- | /@message@/: the application data (if any) Bytes -> IO ()
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-soup.cabal +3/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 2.4.26+++ Relax constraint on text+ ### 2.4.25 + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-soup-2.4.25/docs/GI-Soup.html](https://hackage.haskell.org/package/gi-soup-2.4.25/docs/GI-Soup.html)+[https://hackage.haskell.org/package/gi-soup-2.4.26/docs/GI-Soup.html](https://hackage.haskell.org/package/gi-soup-2.4.26/docs/GI-Soup.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -12,7 +12,7 @@ where name = "Soup" version = "2.4" pkgName = "gi-soup"- pkgVersion = "2.4.25"+ pkgVersion = "2.4.26" overridesFile = Just "Soup.overrides" verbose = False outputDir = Nothing
gi-soup.cabal view
@@ -1,5 +1,5 @@ name: gi-soup-version: 2.4.25+version: 2.4.26 synopsis: Libsoup bindings description: Bindings for Libsoup, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -23,7 +23,7 @@ library default-language: Haskell2010- default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+ default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators other-extensions: PatternSynonyms, ViewPatterns, TypeApplications ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -37,7 +37,7 @@ gi-glib == 2.0.*, bytestring >= 0.10 && < 1, containers >= 0.5 && < 1,- text >= 1.0 && < 2,+ text >= 1.0 && < 3, transformers >= 0.4 && < 1 -- Disable overloading when compiling under GHC 8.2.x