remote_file_streamer v0.1.0 RemoteFileStreamer

RemoteFileStreamer is a micro-library to stream a remote file. Mostly, it provides a stream function taking a url as an input and returns a stream out of it.

Link to this section Summary

Functions

If the server hosting the resource allows it, a file a streamed from a url

Link to this section Functions

Link to this function stream(url)
stream(String.t()) :: Enumerable.t()

If the server hosting the resource allows it, a file a streamed from a url

Examples

url |> RemoteFileStream.stream |> Enum.each(fn(chunk) -> IO.puts chunk end)