Packmatic v0.1.0 Packmatic.Conn View Source

Contains convenience functions which can be used to easily integrate a Zip stream with Plug-using applications such as Phoenix.

Link to this section Summary

Functions

Convenience function which sends the stream to the conn.

Link to this section Functions

Link to this function

send_chunked(stream, conn, filename)

View Source

Convenience function which sends the stream to the conn.

Examples

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