Mojolicious::Plugin::RenderFile

"render_file" helper for Mojolicious
Download

Mojolicious::Plugin::RenderFile Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Viktor Turskyi
  • Publisher web site:
  • http://search.cpan.org/~koorchik/

Mojolicious::Plugin::RenderFile Tags


Mojolicious::Plugin::RenderFile Description

Mojolicious::Plugin::RenderFile is a Mojolicious plugin that adds "render_file" helper. It does not read file in memory and just streaming it to client.SYNOPSIS # Mojolicious $self->plugin('RenderFile'); # Mojolicious::Lite plugin 'RenderFile'; # In controller $self->render_file(filepath => '/tmp/files/file.pdf'); # file name will "file.pdf" # Provide any file name $self->render_file(filepath => '/tmp/files/file.pdf', 'filename' => 'report.pdf');Product's homepage


Mojolicious::Plugin::RenderFile Related Software