View Source Mixpanel.HTTP.Hackney (Mixpanel API v1.2.2)

Adapter for hackney.

Remember to add {:hackney, "~> 1.20"} to dependencies (and :hackney to applications in mix.exs).

Examples

# set globally in config/config.exs
config :mixpanel_api_ex, :http_adapter, Mixpanel.HTTP.Hackney

Adapter specific options

  • :max_body_length - Max response body size in bytes. Actual response may be bigger because hackney stops after the last chunk that surpasses :max_body_length. Defaults to :infinity.