galley-0.83.0: Conversations
Safe HaskellSafe-Inferred
LanguageGHC2021

Galley.External.LegalHoldService.Internal

Synopsis

Documentation

makeVerifiedRequestFreshManager :: Fingerprint Rsa -> HttpsUrl -> (Request -> Request) -> App (Response ByteString) Source #

NOTE: Use this function wisely - this creates a new manager _every_ time it is called. We should really _only_ use it in checkLegalHoldServiceStatus for the time being because this is where we check for signatures, etc. If we reuse the manager, we are likely to reuse an existing connection which will _not_ cause the new public key to be verified.