Skip to content

Commit

Permalink
a few more examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 27, 2015
1 parent 4e60bb4 commit ed31981
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Mojo/Message.pm
Expand Up @@ -651,6 +651,9 @@ been received.
All C<multipart/form-data> file uploads, usually L<Mojo::Upload> objects.
# Names of all uploads
say $_->name for @{$msg->uploads};
=head1 SEE ALSO
L<Mojolicious>, L<Mojolicious::Guides>, L<http://mojolicio.us>.
Expand Down
3 changes: 3 additions & 0 deletions lib/Mojo/Message/Request.pm
Expand Up @@ -353,6 +353,9 @@ Clone request if possible, otherwise return C<undef>.
Access request cookies, usually L<Mojo::Cookie::Request> objects.
# Names of all cookies
say $_->name for @{$req->cookies};
=head2 every_param
my $values = $req->every_param('foo');
Expand Down
3 changes: 3 additions & 0 deletions lib/Mojo/Message/Response.pm
Expand Up @@ -211,6 +211,9 @@ implements the following new ones.
Access response cookies, usually L<Mojo::Cookie::Response> objects.
# Names of all cookies
say $_->name for @{$res->cookies};
=head2 default_message
my $msg = $res->default_message;
Expand Down

0 comments on commit ed31981

Please sign in to comment.