Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
optionContextGetSummary :: (HasCallStack, MonadIO m) => OptionContext -> m Textgi-glib GI.GLib.Structs.OptionContext Returns the summary. See optionContextSetSummary. Since: 2.12
optionContextSetSummary :: (HasCallStack, MonadIO m) => OptionContext -> Maybe Text -> m ()gi-glib GI.GLib.Structs.OptionContext Adds a string to be displayed in --help output before the list of options. This is typically a summary of the program functionality. Note that the summary is translated (see optionContextSetTranslateFunc and optionContextSetTranslationDomain). Since: 2.12
clientWantSessionResume :: ClientParams -> Maybe (SessionID, SessionData)tls Network.TLS try to establish a connection using this session for TLS 1.2/TLS 1.3. This can be used for TLS 1.3 but for backward compatibility purpose only. Use clientWantSessionResume13 instead for TLS 1.3. Default: Nothing
clientWantSessionResumeList :: ClientParams -> [(SessionID, SessionData)]tls Network.TLS try to establish a connection using one of this sessions especially for TLS 1.3. This take precedence over clientWantSessionResume. For convenience, this can be specified for TLS 1.2 but only the first entry is used. Default: '[]'
infoTLS12Resumption :: Information -> Booltls Network.TLS No documentation available.
sessionResume :: SessionManager -> SessionIDorTicket -> IO (Maybe SessionData)tls Network.TLS Used on TLS 1.2/1.3 servers to lookup SessionData with SessionID or to decrypt Ticket to get SessionData.
sessionResumeOnlyOnce :: SessionManager -> SessionIDorTicket -> IO (Maybe SessionData)tls Network.TLS Used for 0RTT on TLS 1.3 servers to lookup SessionData with SessionID or to decrypt Ticket to get SessionData.
throwIfConsumesMoreThan :: Int64 -> OutputStream ByteString -> IO (OutputStream ByteString)io-streams System.IO.Streams.ByteString Wraps an OutputStream, producing a new stream that will pass along at most n bytes to the wrapped stream. If more than n bytes are sent to the outer stream, a TooManyBytesWrittenException will be thrown. Note: if more than n bytes are sent to the outer stream, throwIfConsumesMoreThan will not necessarily send the first n bytes through to the wrapped stream before throwing the exception. Example:
ghci> (os :: OutputStream ByteString, getList) <- Streams.listOutputStream ghci> os' <- Streams.throwIfConsumesMoreThan 5 os ghci> Streams.fromList ["short"] >>= Streams.connectTo os' ghci> getList ["short"] ghci> os'' <- Streams.throwIfConsumesMoreThan 5 os ghci> Streams.fromList ["long", "string"] >>= Streams.connectTo os'' *** Exception: Too many bytes written
-
io-streams System.IO.Streams.Internal No documentation available.
fromConsumer :: Consumer r a -> IO (OutputStream r)io-streams System.IO.Streams.Internal No documentation available.