Update Session/Http for Plack.
This commit is contained in:
parent
433700b6f0
commit
a07bf9b84f
2 changed files with 236 additions and 141 deletions
|
|
@ -181,6 +181,16 @@ sub newSession {
|
|||
return $session;
|
||||
}
|
||||
|
||||
=head2 newEnv
|
||||
|
||||
This method works either as a object method, or as a standalone subroutine.
|
||||
|
||||
=head3 form
|
||||
|
||||
Something that could be a HTTP::Request object.
|
||||
|
||||
=cut
|
||||
|
||||
sub newEnv {
|
||||
shift
|
||||
if eval { $_[0]->isa($CLASS) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue