Test::Apache2::Server - Facade of Test::Apache2


Test-Apache2 documentation  | view source Contained in the Test-Apache2 distribution.

Index


NAME

Top

Test::Apache2::Server - Facade of Test::Apache2

DESCRIPTION

Top

This class is "Facade" of Test::Apache2.

CLASS METHODS

Top

new(\%args)

Creates a new Test::Apache2::Server object.

INSTANCE METHODS

Top

$self->location($path, \%configuration)

Sets a handler on $path.

$self->get($path)

Requests $path with GET method and returns the HTTP::Response object.

$self->request($request)

Requests with HTTP::Request object and returns the HTTP::Response object.


Test-Apache2 documentation  | view source Contained in the Test-Apache2 distribution.