| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.BuildIdentity
Description
The proxy's own identity: the product name, the version the build declares, and the
User-Agent every registry and mirror-target request carries. The version is read from
Paths_ecluse, so it follows the version: field of ecluse.cabal. Proxy identity is no
ecosystem's protocol fact, so it lives outside every adapter namespace and imports nothing
from Ecluse.
Synopsis
Documentation
productName :: Text Source #
The name Écluse identifies itself by to another service.
productVersion :: Text Source #
The running build's version, as the cabal file declares it.
userAgent :: ByteString Source #
The User-Agent value for an outbound request, ecluse/<version>.
sealRequest sets it once for every adapter.