Differences

This shows you the differences between two versions of the page.

Link to this comparison view

jsapi:usessl [2025/04/30 03:21] (current)
optrix created
Line 1: Line 1:
 +====UseSSL===
  
 +The **UseSSL** function is part of the [[HMITTPanel|HMITTPanel]] class used to connect to live ARDI data.
 +
 +It tells the library to connect using indirect SSL subscriptions rather than direct, insecure HTTP sessions.
 +
 +===Parameters===
 +
 +None
 +
 +===Example===
 +
 +<code javascript>
 +   //Create 'connection' and subscriptions...
 +
 +   connection.UseSSL();
 +   connection.Connect("myardiserver/s/default");
 +</code>
 +
 +===Notes===
 +
 +This function should be called //before// you call [[Connect|connect]].