Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Catalyst::TraitFor::ReUsertContributedyPerlTDaitFor::Request::BrowserDetect(3)

NAME
       Catalyst::TraitFor::Request::BrowserDetect - Browser detection for
       Catalyst::Requests

VERSION
       version 0.02

SYNOPSIS
	   package MyApp;

	   use Moose;
	   use namespace::autoclean;

	   use Catalyst;
	   use CatalystX::RoleApplicator;

	   extends 'Catalyst';

	   __PACKAGE__->apply_request_class_roles(qw/
	       Catalyst::TraitFor::Request::BrowserDetect
	   /);

	   __PACKAGE__->setup;

DESCRIPTION
       Extend request objects with a method for	browser	detection.

ATTRIBUTES
   browser
	   my $browser = $ctx->request->browser;

       Returns an "HTTP::BrowserDetect"	instance for the request. This allows
       you to get information about the	client's user agent.

AUTHOR
	 Florian Ragwitz <rafl@debian.org>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2009 by Florian Ragwitz.

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

perl v5.32.0			 Catalyst::TraitFor::Request::BrowserDetect(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | ATTRIBUTES | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Catalyst::TraitFor::Request::BrowserDetect&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help