|  Developer
Updated on November 18, 2021

http_server.close_connection()

  • Closes an existing connection. A plugin can use its own connections only.
Edit
Parameter Type Required Description
id string + Identifier of a connection
Edit

bool

Table Field Type Required Description
link_id string + Identifier of a link created.
url string + Full HTTP link for using this link( Like http://192.168.0.125:17001/v1/links/plugins/
secure_url string + Full HTTPS link for using this link( Like https://192.168.0.125:17000/v1/links/plugins/
user_data any User data that was passed to http_server.create_link_url() call.
connections array of strings An array of identifiers of “live” connections.
Edit
  • Wrong format of parameter:
  • Required parameter didn’t define:
  • Wrong format of the parameter:
  • Limit of the parameter is reached:
  • Connection doesn’t exist