-
RouterAPI:适用于RouterOS PHP客户端的API,针对Mikrotik设备
资源介绍
路由器API
用于RouterOSPHP客户端API(Mikrotik)
样本
require ( 'RouterAPI.php' );
$ API = new RouterAPI ();
// Set true if you want doing debugging ( default is false )
$ API -> IsDebug = false ;
// Set true if your using SSL-API ( default is false )
$ API -> IsSSL = false ;
// Attempts to retry if fails ( default is 3 )
$ API -> Attempt = 2 ;
// Socket timeout ( default is 5 )
$ API -> Timeout = 3 ;
// Delay