Humiex.Support.HTTPAsyncClient behaviour (humiex v0.2.2) View Source

Async HTTP Client behaviour expected to be used with Stream.Resource/3

Link to this section Summary

Link to this section Callbacks

Specs

next(Humiex.State.t()) ::
  {[any()], Humiex.State.t()} | {:halt, Humiex.State.t()}

Specs

start(Humiex.State.t()) :: (() -> Humiex.State.t())

Specs

stop(Humiex.State.t()) :: {:ok, any()} | {:error, any()}