X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FRequest.pm;h=c0cc729b55f16fa85cfe769671217992b1bc2c86;hp=b8caa11007aaa6be693042c5d8ff4578134b4dba;hb=245ae014f237e59c7b9f0596c6dddf19593512fa;hpb=bafb8c69df1273049a80baa96d125baaac452b27 diff --git a/lib/Catalyst/Request.pm b/lib/Catalyst/Request.pm index b8caa11..c0cc729 100644 --- a/lib/Catalyst/Request.pm +++ b/lib/Catalyst/Request.pm @@ -6,7 +6,7 @@ use base 'Class::Accessor::Fast'; use IO::Socket qw[AF_INET inet_aton]; __PACKAGE__->mk_accessors( - qw/action address arguments cookies headers match method + qw/address arguments cookies headers match method protocol query_parameters secure snippets uri user/ ); @@ -81,6 +81,10 @@ thus hiding the details of the particular engine implementation. Returns the requested action as a L object. +=cut + +sub action { shift->{_context}->action(@_) } + =item $req->address Returns the IP address of the client.