Packmatic.Conn.send_chunked

You're seeing just the function send_chunked, go back to Packmatic.Conn module for more information.
Link to this function

send_chunked(stream, conn, filename)

View Source

Convenience function which sends the stream to the conn. The content of the Stream will be sent with an appropriately configured Content-Disposition response header (as attachment), and the name provided will be encoded for maximum compatibility with browsers.

Examples

stream
|> Packmatic.Conn.send_chunked(conn, "download.zip")