FusionInventory::Agent::HTTP::Client::OCS(3pm)

FusionInventory::Agent::HTTP::Client::OCS3pm

An http client using ocs protocol

Overview

This is the object used by the agent to send messages to OCS or GLPI servers, using original OCS protocol (XML messages sent through POST requests).

Methods

send(%params)

Send an instance of "FusionInventory::Agent::XML::Query" to the target (the server).

The following parameters are allowed, as keys of the %params hash:

url

the url to send the message to (mandatory)

message

the message to send (mandatory)

This method returns an "FusionInventory::Agent::XML::Response" instance.

From fusioninventory-agent 2.2.3-8 in Debian 7 (Wheezy). Parsed by carta from the page's man source.