File: Request.pm

package info (click to toggle)
libpod-webserver-perl 3.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 160 kB
  • sloc: perl: 440; makefile: 2
file content (33 lines) | stat: -rw-r--r-- 485 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package Pod::Webserver::Request;

use strict;
use warnings;

our $VERSION = '3.11';

# ------------------------------------------------

sub method {
  return $_[0]->{method};

} # End of method.

# ------------------------------------------------

sub new {
  my $class = shift;

  return bless {@_}, $class

} # End of new.

# ------------------------------------------------

sub url {
  return $_[0]->{url};

} # End of url.

# ------------------------------------------------

1;