2016-04-11 04:33:55 +08:00
|
|
|
var streamCmdParms = "view=request&request=stream&connkey="+connKey;
|
2019-01-19 23:32:40 +08:00
|
|
|
var streamCmdReq = new Request.JSON( {url: monitorUrl, method: 'post', timeout: AJAX_TIMEOUT, link: 'cancel'} );
|
2016-04-11 04:33:55 +08:00
|
|
|
|
|
|
|
function streamCmdQuit( action ) {
|
2019-01-19 23:32:40 +08:00
|
|
|
if ( action ) {
|
2017-10-04 22:48:37 +08:00
|
|
|
streamCmdReq.send( streamCmdParms+"&command="+CMD_QUIT );
|
2019-01-19 23:32:40 +08:00
|
|
|
}
|
2016-04-11 04:33:55 +08:00
|
|
|
}
|
|
|
|
|