FreeMED::Relay
SYNOPSIS
Provide access to FreeMED 0.9.x+ data relay
DESCRIPTION
METHODS
- new ( %options )
-
Returns a FreeMED::Relay object.
new
takes "debug" as a boolean argument. - set_credentials ( $base_uri, $username, $password )
-
Sets the credentials used to access the FreeMED installation in question. The
$base_uri
variable should be the base name of the installation, such as "http://localhost/freemed". - login ( )
-
Log into the specified installation of FreeMED. Returns true or false depending on whether or not it is successful.
- call ( $method, $params ... )
-
Execute a remote procedural call, translating to and from JSON transparently. If an argument is a hash with the keys '@var' and '@filename' it is assumed that the filename in question will be uploaded and attached to the form variable '@var'.
- _init ( )
-
Internal method for initializing the LWP user agent, cookie jar and other special things.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 128:
Unknown directive: =head
- Around line 140:
=over without closing =back