++ed by:
ADAMJS AWNCORP DOMM DOY HANENKAMP

11 PAUSE user(s)
8 non-PAUSE user(s).

Jesse Luehrs

NAME

OX::Request - request object for OX

VERSION

version 0.14

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 hashref, and returns the absolute URI path that results (including prepending SCRIPT_NAME). If a string is passed rather than a hashref, this is treated as equivalent to { name => $route }.

AUTHORS

  • Stevan Little <stevan.little@iinteractive.com>

  • Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.




Hosting generously
sponsored by Bytemark