NAME
SRU::Request::Explain - A class for representing SRU explain requests
SYNOPSIS
## creating a new request
my $request = SRU::Request::Explain->new(
base=>'http://www.example.com/sru' );
DESCRIPTION
SRU::Request::Explain is a class for representing SRU 'explain' requests. Explain requests essentially ask the server to describe its services.
METHODS
new()
The constructor, which you must pass the parameter base and the optional parameters: version, recordPacking, stylesheet, and extraRequestData parameters.
my $request = SRU::Request::Explain->new(
base => 'http://www.example.com/sru',
version => '1.1',
stylesheet => 'http://www.example.com/styles/mystyle.xslt'
);
Normally you'll probably want to use the factory SRU::Response::newFromURI to create requests, instead of calling new() yourself.
base()
Returns the base location of the SRU service.