Client longpolling¶
In order for Odoo to interact with an IoT. We rely heavily on network requests.
Most of the time, it will be with HTTPS request from the client browser to the IoT using the IoT LAN IP address.
Example: Printing a receipt through the IoT
Note
This interation does not use Odoo server. It was originally thought to be used without the need for an internet connection (as the PoS was meant to work offline).
Starting Odoo 17, the IoT team is slowly moving toward websocket usage rather than HTTPS.
See also