- CLASS METHODS
- INSTANCE METHODS
FusionInventory::Agent::HTTP::Server - An embedded HTTP server
This is the server used by the agent to listen on the network for messages sent by OCS or GLPI servers.
It is an HTTP server listening on port 62354 (by default). The following requests are accepted:
Authentication is based on connection source address: trusted requests are accepted, other are rejected.
The constructor. The following parameters are allowed, as keys of the %params hash:
the logger object to use
the directory where HTML templates and static files are stored
the network address to listen to (default: all)
the network port to listen to
an IP address or an IP address range from which to trust incoming requests (default: none)
Start the server internal listener.
Check if there any incoming request, and honours it if needed.