mixpanel-client-0.1.1: Mixpanel client

Safe HaskellNone
LanguageHaskell2010

MixPanel

Synopsis

Documentation

newtype AuthToken Source #

Constructors

AuthToken Text 
Instances
Generic AuthToken Source # 
Instance details

Defined in MixPanel.Types.Core

Associated Types

type Rep AuthToken :: Type -> Type #

ToJSON AuthToken Source # 
Instance details

Defined in MixPanel.Types.Core

type Rep AuthToken Source # 
Instance details

Defined in MixPanel.Types.Core

type Rep AuthToken = D1 (MetaData "AuthToken" "MixPanel.Types.Core" "mixpanel-client-0.1.1-FA6ikAsJkk5CgdnrQQwKul" True) (C1 (MetaCons "AuthToken" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data Env Source #

alias :: Env -> DistinctId -> Text -> IO (Either MixPanelError ()) Source #

Renames distinct id into alias id

tlsManagerSettings :: ManagerSettings #

Default TLS-enabled manager settings

newManager :: ManagerSettings -> IO Manager #

Create a Manager. The Manager will be shut down automatically via garbage collection.

Creating a new Manager is a relatively expensive operation, you are advised to share a single Manager between requests instead.

The first argument to this function is often defaultManagerSettings, though add-on libraries may provide a recommended replacement.

Since 0.1.0