servant-benchmark-0.1.2.0: Generate benchmark files from a Servant API
Safe HaskellNone
LanguageHaskell2010

Servant.Benchmark.BasicAuth

Synopsis

Documentation

encodeBasicAuth :: (a -> BasicAuthData) -> Gen a -> IO Header Source #

Given a function (a -> BasicAuthData), produce an authorization header from a random value of a