1Dancer2::Core::Types(3)User Contributed Perl DocumentatioDnancer2::Core::Types(3)
2
3
4
6 Dancer2::Core::Types - Type::Tiny types for Dancer2 core.
7
9 version 0.400001
10
12 Type::Tiny definitions for Moo attributes. These are defined as
13 subroutines.
14
16 ReadableFilePath($value)
17 A readable file path.
18
19 WritableFilePath($value)
20 A writable file path.
21
22 Dancer2Prefix($value)
23 A proper Dancer2 prefix, which is basically a prefix that starts with a
24 / character.
25
26 Dancer2AppName($value)
27 A proper Dancer2 application name.
28
29 Currently this only checks for \w+.
30
31 Dancer2Method($value)
32 An acceptable method supported by Dancer2.
33
34 Currently this includes: get, head, post, put, delete and options.
35
36 Dancer2HTTPMethod($value)
37 An acceptable HTTP method supported by Dancer2.
38
39 Current this includes: GET, HEAD, POST, PUT, DELETE and OPTIONS.
40
42 Types::Standard for more available types
43
45 Dancer Core Developers
46
48 This software is copyright (c) 2023 by Alexis Sukrieh.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.38.0 2023-07-20 Dancer2::Core::Types(3)