Klaviyo.HTTP behaviour (klaviyo v3.0.0)
Link to this section Summary
Link to this section Types
Link to this type
headers_t()
Link to this type
method_t()
@type method_t() :: :delete | :get | :head | :patch | :post | :put
Link to this type
response_t()
@type response_t() :: {:ok, Klaviyo.HTTP.Response.t()} | {:error, any()}
Link to this type
status_code_t()
@type status_code_t() :: pos_integer()
Link to this section Callbacks
Link to this callback
send(t, any)
@callback send(Klaviyo.Request.t(), any()) :: response_t()