View Source Chalk behaviour (chalk_elixir v0.0.9)
An HTTP Client for the Chalk Feature Engine
Link to this section Summary
Link to this section Types
Link to this section Callbacks
@callback handle_response({:ok, Tesla.Env.t()} | {:error, any()}, mapper()) :: {:ok, term()} | {:error, Chalk.Error.t()} | {:error, any()}
@callback send_request(Chalk.Client.Request.t(), Tesla.Client.t()) :: {:ok, Tesla.Env.t()} | {:error, any()}