Eve

 view release on metacpan or  search on metacpan

lib/Eve/HttpResource/Template.pm  view on Meta::CPAN

(optional) a hash of variables to be passed to the processed template,
defaults to an empty hash,

=item C<require_auth>

(optional) if a user is not authenticated, throw a
C<Eve::Exception::Http::401Unauthorized>,

=item C<content_type>

(optional) response content-type, defaults to C<text/html>,

=item C<charset>

(optional) response character set, defaults to C<UTF-8>.

=back

=head1 METHODS

=head2 B<init()>

lib/Eve/PsgiStub.pm  view on Meta::CPAN

=item C<body>

a request body, defaults to an empty string

=item C<cookie>

a request C<Set-Cookie> string, defaults to an empty string,

=item C<content_type>

a request C<content-type> string, defaults to an empty string.

=back

=cut

sub get_request {
    my ($self, %arg_hash) = @_;
    Eve::Support::arguments(
        \%arg_hash,
        my $uri = '/',



( run in 1.220 second using v1.01-cache-2.11-cpan-524268b4103 )