Smtpbz.Internal.Has
class Has t where Source #
smtp.bz configuration that is used by the library and the user may want to override.
Methods
apiKey :: Lens' t ByteString Source #
API key; get one at https://smtp.bz/panel/user
baseUrl :: Lens' t Text Source #
API base URL; Most likely, https://api.smtp.bz/v1
httpMan :: Lens' t Manager Source #
The Manager under which all requests will be made.
Manager
type Lens s t a b = forall f. Functor f => (a -> f b) -> s -> f t Source #
Type changing stabby lenses.
type Lens' s a = Lens s s a a Source #
Stabby lenses that can't change the type.
view :: Lens s t a b -> s -> a Source #