Mxpanel.HTTPClient.FinchAdapter (Mxpanel v0.1.0) View Source

Adapter for finch.

Remember to add {:finch, "~> 0.5"} to dependencies. Also, you need to recompile mxpanel after adding the :finch dependency:

mix deps.clean mxpanel
mix compile

Usage

  1. Add to your supervision tree:
{Finch, name: Mxpanel.HTTPClient}
  1. Finch is already the default adapter:
%Mxpanel.Client{token: "token"}

Link to this section Summary

Link to this section Functions