Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
MemoryModeTReadonlyMayMakeWritable :: MemoryModeTgi-harfbuzz GI.HarfBuzz.Enums See above
SessionErrorMessageAlreadyInQueue :: SessionErrorgi-soup3 GI.Soup.Enums the message is already in the session queue. Messages can only be reused after unqueued.
authIsReady :: (HasCallStack, MonadIO m, IsAuth a, IsMessage b) => a -> b -> m Boolgi-soup3 GI.Soup.Objects.Auth Tests if auth is ready to make a request for msg with. For most auths, this is equivalent to [methodauth.is_authenticated], but for some auth types (eg, NTLM), the auth may be sendable (eg, as an authentication request) even before it is authenticated.
constructCookieJarReadOnly :: (IsCookieJar o, MonadIO m) => Bool -> m (GValueConstruct o)gi-soup3 GI.Soup.Objects.CookieJar Construct a GValueConstruct with valid value for the “read-only” property. This is rarely needed directly, but it is used by new.
getCookieJarReadOnly :: (MonadIO m, IsCookieJar o) => o -> m Boolgi-soup3 GI.Soup.Objects.CookieJar Get the value of the “read-only” property. When overloading is enabled, this is equivalent to
get cookieJar #readOnly
type
ServerRequestReadCallback = ServerMessage -> IO ()gi-soup3 GI.Soup.Objects.Server Emitted when the server has successfully read a request. message will have all of its request-side information filled in, and if the message was authenticated, client will have information about that. This signal is emitted before any (non-early) handlers are called for the message, and if it sets the message's status_code, then normal handler processing will be skipped.
-
gi-soup3 GI.Soup.Objects.Server Connect a signal handler for the requestRead signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after server #requestRead callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension. -
gi-soup3 GI.Soup.Objects.Server Connect a signal handler for the requestRead signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on server #requestRead callback
-
gi-soup3 GI.Soup.Objects.Session Synchronously sends msg and reads the response body. On success, a Bytes will be returned with the response body. This function should only be used when the resource to be retrieved is not too long and can be stored in memory. See [methodsession.send] for more details on the general semantics.
-
gi-soup3 GI.Soup.Objects.Session Asynchronously sends msg and reads the response body. When callback is called, then either msg has been sent, and its response body read, or else an error has occurred. This function should only be used when the resource to be retrieved is not too long and can be stored in memory. Call [methodsession.send_and_read_finish] to get a Bytes with the response body. See [methodsession.send] for more details on the general semantics.