logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Dancer2::Core::Types - Type::Tiny types for Dancer2 core.

Author

       Dancer Core Developers

Description

       Type::Tiny definitions for Moo attributes. These are defined as subroutines.

Moo Types

ReadableFilePath($value)
       A readable file path.

   WritableFilePath($value)
       A writable file path.

   Dancer2Prefix($value)
       A proper Dancer2 prefix, which is basically a prefix that starts with a / character.

   Dancer2AppName($value)
       A proper Dancer2 application name.

       Currently this only checks for \w+.

   Dancer2Method($value)
       An acceptable method supported by Dancer2.

       Currently this includes: get, head, post, put, delete and options.

   Dancer2HTTPMethod($value)
       An acceptable HTTP method supported by Dancer2.

       Current this includes: GET, HEAD, POST, PUT, DELETE and OPTIONS.

Name

       Dancer2::Core::Types - Type::Tiny types for Dancer2 core.

See Also

       Types::Standard for more available types

Version

       version 1.1.2

See Also