Feedistiller.Http

HTTP wrappers to get feed content.

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

Functions

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.

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.