NAME
Amon2::Plugin::Web::Woothee - The Amon2 Plugin for detecting the User Agent by Woothee
SYNOPSIS
DESCRIPTION
Amon2::Plugin::Web::Woothee provides some methods for detecting User Agent on context.
METHODS
ADDITIONAL METHODS
You can call below methods on context.
NOTE that these methods are enabled after BEFORE_DISPATCH.
- ua_is_pc
-
$c
->ua_is_pc;
# If User Agent is PC Browser, it will be 1.
- ua_is_crawler
- ua_is_smartphone
- ua_is_mobilephone
- ua_is_misc
- woothee
-
To get the woothee. You can call the Woothee parameters as the method.
$c
->woothee->name;
$c
->woothee->category;
$c
->woothee->os;
$c
->woothee->vender;
$c
->woothee->version;
REPOSITORY
Amon2::Plugin::Web::Woothee is hosted on github <http://github.com/bayashi/Amon2-Plugin-Web-Woothee>
Welcome your patches and issues :D
AUTHOR
Dai Okabayashi <bayashi@cpan.org>
SEE ALSO
Amon2, Woothee and Plack::Middleware::Woothee
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.