dev-master
9999999-dev https://bitbucket.org/funplus/infra-fpnn-rtm-server-sdkphp-sdk for RTM
proprietary
The Requires
- php >=5.4.0
- simplito/elliptic-php =1.0.1
- highras/fpnn dev-master
by jianjun.zhao
rtm
Wallogit.com
2017 © Pedro Peláez
php-sdk for RTM
PHP >= 5.4, (*1)
ext-mcrypt, (*2)
ext-gmp, (*3)
ext-msgpack, (*4)
The preferred way to install this sdk is through composer., (*5)
Note: Check the composer.json for this SDK's requirements and dependencies. Read this web tip /wiki on setting the
minimum-stabilitysettings for your application's composer.json., (*6)
Either run, (*7)
$ php composer.phar require highras/rtm $LATEST_VERSION
or add, (*8)
"highras/rtm": $LATEST_VERSION
to the require section of your composer.json file., (*9)
__construct($pid, $secretKey, $endpoint, $timeout = 5000, $autoReconnect = true): RTMServerClient Construct, (*10)
pid: (int) Project IDsecretKey: (string) Secret keyendpoint: (string) Server endpointtimeout: (int) connection timeout(ms)autoReconnect: (bool) support auto reconnectenableEncryptor($peerPubData): Enable encrypted connection, (*11)
peerPubData: (string) Certificate contentenableEncryptorByFile($file): Enable encrypted connection, (*12)
file: (string) Certificate file pathPlease refer Token Functions, (*13)
Please refer User Functions, (*14)
Please refer Room Functions, (*15)
Please refer Group Functions, (*16)
Please refer Friend Functions, (*17)
Please refer Message Functions, (*18)
Please refer Chat Functions, (*19)
Please refer File Functions, (*20)
Please refer Device Functions, (*21)
Please refer Data Functions, (*22)
Please refer RTC Functions, (*23)
Please refer RTM Error Codes, (*24)
Please refer FPNN Error Codes, (*25)
php-sdk for RTM
proprietary
rtm