The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WWW::EFA::Request - A request which can be passed around, and built up

VERSION

Version 0.01

SYNOPSIS

URI request extended with some useful methods

use WWW::EFA::Location;

my $location = WWW::EFA::Location->new();
...

ATTRIBUTES

TODO: RCL 2012-01-22 Documentation

METHODS

url

Returns $string

Get the URL for the request. Concatenation of base_url and service after common_params are set.

set_common_params

Set common parameters for the request

add_location( $suffix, $location )

Add a location to the request.

e.g.

$request->add_location( 'origin', $location );

$location is a WWW::EFA::Location object

set_argument( $key, $value )

Set an argument for the request.

e.g.

$request->set_argument( 'inclMOT_0', 'on' );

del_argument( $key )

Added an argument you didn't mean to? Remove it here!

e.g.

$request->del_argument( $key );

digest

Returns $string

Generate a sha256_hex digest of this request.