HTTP module API

Ezlo Plus and Ezlo Secure are running HTTP module.

Main requests:

  • http.request()
    Configures and starts a new asynchronous HTTP request. Returns connection identifier.
  • http.repeat_request()
    Make one more request with an already opened connection.
  • http.close_connection()
    Close existing connection. A plugin can use only own connections.
  • http.send_data()
    Method for sending the next portion of data for the existing request. A plugin can use only own connections.
  • http.get_connection_info()
    Get the main information about a connection. A plugin can ask only about own connections.

Detailed description of http module API:
HTTP_module_API.pdf (76.7 KB)

2 Likes