Skip to content

API Structure

WebSocket Interface

ws://127.0.0.1:10086/api

About port

The application default port is 10086. However, due to the different system environments, the port number may be occupied. The current measure is to find the first valid port starts from the default port. If you cannot connect to the address with default port, please use "run" function of the tray application to run your program, this way will pass the current application port number as a parameter to the program

JSON Structure

{
  "msg": 10000,
  "msgId": 1,
  "data": some data
}
Parameter Type Description
msg int message type
msgId int messagy indentifier
data object object data