NAME¶
FusionInventory::Agent::HTTP::Client::OCS - An HTTP client using OCS protocol
DESCRIPTION¶
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.