writeCgi method
发送CGI指令 底层封装CGI数据格式
Implementation
@override
Future<bool> writeCgi(String cgi,
{int timeout = 5, bool needLogin = true}) async {
if (_destroyFlag == true) {
return false;
}
if (needLogin == true && connectState != CameraConnectState.connected) {
return false;
}
return super.writeCgi(cgi, timeout: timeout);
}