Feedistiller.Http (feedistiller v3.2.0)

HTTP wrappers to get feed content.

Link to this section Summary

Functions

Asynchronous get returning the body in chunks, with redirection handling (up to 5). A provided callback is called on each chunks in order with an accumulator.

Asynchronous get returning the body in chunks, with redirection handling (up to provided maximum redirections). A provided callback is called on each chunks in order with an accumulator.

Link to this section Functions

Link to this function

stream_get!(url, process_chunk, state, timeout, user, password)

Specs

stream_get!(binary(), (... -> any()), any(), integer(), String.t(), String.t()) ::
  :ok

Asynchronous get returning the body in chunks, with redirection handling (up to 5). A provided callback is called on each chunks in order with an accumulator.

Link to this function

stream_get!(url, process_chunk, state, timeout, max_redirect, user, password)

Specs

stream_get!(
  binary(),
  (... -> any()),
  any(),
  integer(),
  integer(),
  String.t(),
  String.t()
) :: :ok

Asynchronous get returning the body in chunks, with redirection handling (up to provided maximum redirections). A provided callback is called on each chunks in order with an accumulator.