Jesse Luehrs > OX-0.06 > OX::Request

Download:
OX-0.06.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.06   Source   Latest Release: OX-0.14

NAME ^

OX::Request - request object for OX

VERSION ^

version 0.06

SYNOPSIS ^

  use OX::Request;

  my $req = OX::Request->new(env => $env);

DESCRIPTION ^

This class is a simple subclass of Web::Request which adds a couple more features. It adds some methods to access various useful parts of the routing process, and it also sets the default_encoding to UTF-8.

METHODS ^

mapping

This returns the mapping of the current router match, if you are using Path::Router as the router.

uri_for($route)

This calls uri_for on the given route, and returns the absolute URI path that results (including prepending SCRIPT_NAME).

AUTHORS ^

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: