NAME

MojoX::Dispatcher::Routes::Context - Routes Dispatcher Context

SYNOPSIS

use MojoX::Dispatcher::Routes::Context;

my $c = MojoX::Dispatcher::Routes::Context;

DESCRIPTION

MojoX::Dispatcher::Routes::Context is a context container.

ATTRIBUTES

match

my $match = $c->match;

req

request

my $req = $c->req;
my $req = $c->request;

res

response

my $res = $c->res;
my $res = $c->response;

tx

transaction

my $tx = $c->tx;
my $tx = $c->transaction;

METHODS

MojoX::Dispatcher::Routes::Context inherits all methods from Mojo::Base.