The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IWL::RPC::Request - an RPC Requst helper class

DESCRIPTION

The RPC Request helper class is an abstract class, which provides RPC functionality (via XMLHttpRequest) to IWL Objects

METHODS

registerEvent (EVENT, URL, PARAMS)

Registers an event handler to the given event. The event will be processed by a handleEvent(3pm) call in the handling script

Parameters: EVENT - The event name to register. URL the script url, which will provide the event handling. PARAMS - a hash of parameters to be passed to the handler subroutine as a parameter. The following parameters are also interpretted:

  onStart     - a javascript expression to be evaluated before the 
                request takes place. It receives I<params> as 
                an argument
  onComplete  - a javascript expression to be evaluated after the
                request takes place
  emitOnce    - a boolean flag, causes the event to be emitted only
                once

LICENCE AND COPYRIGHT

Copyright (c) 2006-2007 Viktor Kojouharov. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 62:

You forgot a '=back' before '=head1'