Updated on 2022-02-24 GMT+08:00

Methods of the ClientInfo Class

The methods of the ClientInfo class are used to set the basic information about the interconnection. The following describes the main methods (excluding the get method):

Method

Description

public function __set($name, $value)

Sets the IP address and port number of the IoT platform, application ID, and secret for interconnection. For example, $clientInfo->appId = 'zxcxxxxxxx12'.