ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Worker.Fetch

Description

Buffered mirror artifact downloads under their own byte ceiling. The worker outcome classifies exchange faults for retry or drop.

Synopsis

Documentation

fetchArtifactBytesCharged :: (Int -> IO ()) -> Limits -> (Maybe ClientCredential -> Text -> Either UrlFormationError Request) -> RegistryUrl -> WorkerM (Either FetchFault ByteString) Source #

Charge actual buffered source bytes and refuse non-success statuses before integrity verification.