<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line169">line 169</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line170">line 170</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line195">line 195</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line196">line 196</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line145">line 145</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line146">line 146</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line267">line 267</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line268">line 268</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line225">line 225</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line226">line 226</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line324">line 324</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line339">line 339</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line363">line 363</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line378">line 378</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line347">line 347</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line362">line 362</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2649">line 2649</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2653">line 2653</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2856">line 2856</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2860">line 2860</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2868">line 2868</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2872">line 2872</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2783">line 2783</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2787">line 2787</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2727">line 2727</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2731">line 2731</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2716">line 2716</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2720">line 2720</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2695">line 2695</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2699">line 2699</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2706">line 2706</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2710">line 2710</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2684">line 2684</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2688">line 2688</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2963">line 2963</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2967">line 2967</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2974">line 2974</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2978">line 2978</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2834">line 2834</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2838">line 2838</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2928">line 2928</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2932">line 2932</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2950">line 2950</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2954">line 2954</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2769">line 2769</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2773">line 2773</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2917">line 2917</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2921">line 2921</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2939">line 2939</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2943">line 2943</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2745">line 2745</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2749">line 2749</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2801">line 2801</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2805">line 2805</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2998">line 2998</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3002">line 3002</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2896">line 2896</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2900">line 2900</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2907">line 2907</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2911">line 2911</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2880">line 2880</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2884">line 2884</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1684">line 1684</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1688">line 1688</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1781">line 1781</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1785">line 1785</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1745">line 1745</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1749">line 1749</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1700">line 1700</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1704">line 1704</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1730">line 1730</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1734">line 1734</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1715">line 1715</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1719">line 1719</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1799">line 1799</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1803">line 1803</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1763">line 1763</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1767">line 1767</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1827">line 1827</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1831">line 1831</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1850">line 1850</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1854">line 1854</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2439">line 2439</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2443">line 2443</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2608">line 2608</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2612">line 2612</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2466">line 2466</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2470">line 2470</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1883">line 1883</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1887">line 1887</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2493">line 2493</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2497">line 2497</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2554">line 2554</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2558">line 2558</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2208">line 2208</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2212">line 2212</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2120">line 2120</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2124">line 2124</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2252">line 2252</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2256">line 2256</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2003">line 2003</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2007">line 2007</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2188">line 2188</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2192">line 2192</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2100">line 2100</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2104">line 2104</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1948">line 1948</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1952">line 1952</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1908">line 1908</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1912">line 1912</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2139">line 2139</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2143">line 2143</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2161">line 2161</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2165">line 2165</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2227">line 2227</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2231">line 2231</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2055">line 2055</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2059">line 2059</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2068">line 2068</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2072">line 2072</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2526">line 2526</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2530">line 2530</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2539">line 2539</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2543">line 2543</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2023">line 2023</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2027">line 2027</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1978">line 1978</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1982">line 1982</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2086">line 2086</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2090">line 2090</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2292">line 2292</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2296">line 2296</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1934">line 1934</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1938">line 1938</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1968">line 1968</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1972">line 1972</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1988">line 1988</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1992">line 1992</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2039">line 2039</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2043">line 2043</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2380">line 2380</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2384">line 2384</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2277">line 2277</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2281">line 2281</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2365">line 2365</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2369">line 2369</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2400">line 2400</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2404">line 2404</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2349">line 2349</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2353">line 2353</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2308">line 2308</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2312">line 2312</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2422">line 2422</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2426">line 2426</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line2328">line 2328</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line2332">line 2332</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1897">line 1897</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1901">line 1901</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3013">line 3013</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3017">line 3017</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3279">line 3279</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3283">line 3283</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3304">line 3304</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3308">line 3308</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3053">line 3053</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3057">line 3057</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3131">line 3131</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3135">line 3135</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3110">line 3110</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3114">line 3114</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3142">line 3142</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3146">line 3146</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3091">line 3091</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3095">line 3095</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3203">line 3203</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3207">line 3207</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3236">line 3236</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3240">line 3240</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3255">line 3255</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3259">line 3259</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3079">line 3079</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3083">line 3083</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3214">line 3214</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3218">line 3218</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3067">line 3067</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3071">line 3071</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3337">line 3337</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3341">line 3341</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line4080">line 4080</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line4084">line 4084</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3371">line 3371</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3375">line 3375</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3624">line 3624</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3628">line 3628</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3635">line 3635</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3639">line 3639</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3572">line 3572</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3576">line 3576</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3593">line 3593</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3597">line 3597</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3613">line 3613</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3617">line 3617</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3815">line 3815</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3819">line 3819</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3845">line 3845</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3849">line 3849</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3450">line 3450</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3454">line 3454</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3861">line 3861</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3865">line 3865</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3894">line 3894</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3898">line 3898</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line4040">line 4040</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line4044">line 4044</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3827">line 3827</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3831">line 3831</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3988">line 3988</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3992">line 3992</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3475">line 3475</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3479">line 3479</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3497">line 3497</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3501">line 3501</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3437">line 3437</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3441">line 3441</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3412">line 3412</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3416">line 3416</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3485">line 3485</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3489">line 3489</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line4004">line 4004</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line4008">line 4008</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3461">line 3461</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3465">line 3465</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line4015">line 4015</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line4019">line 4019</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3883">line 3883</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3887">line 3887</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3973">line 3973</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3977">line 3977</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3872">line 3872</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3876">line 3876</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3932">line 3932</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3936">line 3936</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3955">line 3955</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3959">line 3959</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3423">line 3423</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3427">line 3427</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3905">line 3905</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3909">line 3909</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3920">line 3920</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3924">line 3924</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3525">line 3525</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3529">line 3529</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3513">line 3513</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3517">line 3517</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line4051">line 4051</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line4055">line 4055</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3397">line 3397</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3401">line 3401</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3546">line 3546</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3550">line 3550</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line3385">line 3385</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line3389">line 3389</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line645">line 645</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line646">line 646</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line901">line 901</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line902">line 902</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1350">line 1350</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1354">line 1354</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line979">line 979</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line980">line 980</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1388">line 1388</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1392">line 1392</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line745">line 745</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line746">line 746</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line736">line 736</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line737">line 737</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1104">line 1104</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1105">line 1105</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1127">line 1127</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1128">line 1128</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1650">line 1650</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1654">line 1654</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1667">line 1667</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1671">line 1671</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1639">line 1639</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1643">line 1643</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line938">line 938</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line939">line 939</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line963">line 963</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line964">line 964</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line767">line 767</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line768">line 768</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line782">line 782</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line783">line 783</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1544">line 1544</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1548">line 1548</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1495">line 1495</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1499">line 1499</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1470">line 1470</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1474">line 1474</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1257">line 1257</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1261">line 1261</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1277">line 1277</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1281">line 1281</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1306">line 1306</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1310">line 1310</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1320">line 1320</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1324">line 1324</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1240">line 1240</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1244">line 1244</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line681">line 681</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line682">line 682</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line663">line 663</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line664">line 664</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line870">line 870</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line871">line 871</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line850">line 850</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line851">line 851</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line809">line 809</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line810">line 810</a>
</div>
</div>
<div class="tag-source">
- <a href="network.js.html">network.js</a>, <a href="network.js.html#line1043">line 1043</a>
+ <a href="network.js.html">network.js</a>, <a href="network.js.html#line1044">line 1044</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line999">line 999</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1046">line 1046</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1150">line 1150</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1197">line 1197</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1023">line 1023</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1070">line 1070</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1064">line 1064</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1111">line 1111</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1090">line 1090</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1137">line 1137</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1115">line 1115</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1162">line 1162</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line569">line 569</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line611">line 611</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line844">line 844</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line891">line 891</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line586">line 586</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line628">line 628</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line797">line 797</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line844">line 844</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line818">line 818</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line865">line 865</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line863">line 863</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line910">line 910</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line648">line 648</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line695">line 695</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line822">line 822</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line869">line 869</a>
</div>
</div>
+ <tr>
+
+ <td class="name"><code>responseType</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+ <td class="attributes">
+
+ <optional><br>
+
+
+
+ </td>
+
+
+
+ <td class="default">
+
+ text
+
+ </td>
+
+
+ <td class="description last"><p>Overrides the request response type. Valid values or <code>text</code> to
+interpret the response as UTF-8 string or <code>blob</code> to handle the
+response as binary <code>Blob</code> data.</p></td>
+ </tr>
+
+
+
<tr>
<td class="name"><code>content</code></td>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line881">line 881</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line928">line 928</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line985">line 985</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1032">line 1032</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line924">line 924</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line971">line 971</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line961">line 961</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1008">line 1008</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line969">line 969</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1016">line 1016</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line977">line 977</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1024">line 1024</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line882">line 882</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line929">line 929</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line377">line 377</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line392">line 392</a>
</div>
</div>
<dl>
+<dt>
+ <div class="nameContainer">
+ <h4 class="name" id="blob">
+
+ blob<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Blob}</span>
+ </h4>
+
+
+ <div class="tag-source">
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line546">line 546</a>
+ </div>
+
+ </div>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ <p>Access the response content as blob.</p>
+ </div>
+
+
+
+
+
+
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Type</th>
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+
+ <td class="type">
+
+ Blob
+
+
+ </td>
+ <td class="description last">The response content as blob.</td>
+ </tr>
+
+ </tbody>
+</table>
+
+
+
+
+</dd>
+
+
+
<dt>
<div class="nameContainer">
<h4 class="name" id="clone">
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line465">line 465</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line495">line 495</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line486">line 486</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line516">line 516</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line501">line 501</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line531">line 531</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2943">line 2943</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3022">line 3022</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3046">line 3046</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3125">line 3125</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3035">line 3035</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3114">line 3114</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3022">line 3022</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3101">line 3101</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2978">line 2978</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3057">line 3057</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3005">line 3005</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3084">line 3084</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3061">line 3061</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line3140">line 3140</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2065">line 2065</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2136">line 2136</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2216">line 2216</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2287">line 2287</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2331">line 2331</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2402">line 2402</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2565">line 2565</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2636">line 2636</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2619">line 2619</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2690">line 2690</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2283">line 2283</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2354">line 2354</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2409">line 2409</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2480">line 2480</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2485">line 2485</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2556">line 2556</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2079">line 2079</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2150">line 2150</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2585">line 2585</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2656">line 2656</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2665">line 2665</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2736">line 2736</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2140">line 2140</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2211">line 2211</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2167">line 2167</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2238">line 2238</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2098">line 2098</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2169">line 2169</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2628">line 2628</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2699">line 2699</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line111">line 111</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line145">line 145</a>
</div>
</div>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line232">line 232</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line266">line 266</a>
</div>
</div>
+</dd>
+
+
+
+<dt>
+ <div class="nameContainer">
+ <h4 class="name" id="exec_direct">
+
+ exec_direct<span class="signature">(command, <span class="optional">params</span>, <span class="optional">type</span>, <span class="optional">latin1</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<*>}</span>
+ </h4>
+
+
+ <div class="tag-source">
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line403">line 403</a>
+ </div>
+
+ </div>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ <p>Execute the specified command, bypassing ubus.</p>
+<p>Note: The <code>command</code> must be either the path to an executable,
+or a basename without arguments in which case it will be searched
+in $PATH. If specified, the values given in <code>params</code> will be passed
+as arguments to the command.</p>
+<p>This function will invoke the requested commands through the cgi-io
+helper applet at <code>/cgi-bin/cgi-exec</code> which bypasses the ubus rpc
+transport. This is useful to fetch large command outputs which might
+exceed the ubus message size limits or which contain binary data.</p>
+<p>The cgi-io helper will enforce the same access permission rules as
+the ubus based exec call.</p>
+ </div>
+
+
+
+
+
+
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+ <th>Default</th>
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>command</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+ <td class="default">
+
+ </td>
+
+
+ <td class="description last">
+
+
+
+
+
+
+ <p>The command to invoke.</p></td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>params</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">Array.<string></span>
+
+
+
+ </td>
+
+
+ <td class="default">
+
+ </td>
+
+
+ <td class="description last">
+
+
+ <span class="optional">optional</span>
+
+
+
+
+
+ <p>The arguments to pass to the command.</p></td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>type</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+ <td class="default">
+
+ text
+
+ </td>
+
+
+ <td class="description last">
+
+
+ <span class="optional">optional</span>
+
+
+
+
+
+ <p>The expected output type of the invoked program. Valid values are
+<code>text</code> to interpret the output as string, <code>json</code> to parse the output
+as JSON or <code>blob</code> to return the output as Blob instance.</p></td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>latin1</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">boolean</span>
+
+
+
+ </td>
+
+
+ <td class="default">
+
+ false
+
+ </td>
+
+
+ <td class="description last">
+
+
+ <span class="optional">optional</span>
+
+
+
+
+
+ <p>Whether to encode the command line as Latin1 instead of UTF-8. This
+is usually not needed but can be useful for programs that cannot
+handle UTF-8 input.</p></td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Type</th>
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+
+ <td class="type">
+
+ Promise.<*>
+
+
+ </td>
+ <td class="description last">Returns a promise resolving with the command stdout output interpreted
+according to the specified type or rejecting with an error stating the
+failure reason.</td>
+ </tr>
+
+ </tbody>
+</table>
+
+
+
+
</dd>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line281">line 281</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line315">line 315</a>
</div>
</div>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line132">line 132</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line166">line 166</a>
</div>
</div>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line161">line 161</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line195">line 195</a>
</div>
</div>
+</dd>
+
+
+
+<dt>
+ <div class="nameContainer">
+ <h4 class="name" id="read_direct">
+
+ read_direct<span class="signature">(path, <span class="optional">type</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<*>}</span>
+ </h4>
+
+
+ <div class="tag-source">
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line356">line 356</a>
+ </div>
+
+ </div>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ <p>Read the contents of the given file and return them, bypassing ubus.</p>
+<p>This function will read the requested file through the cgi-io
+helper applet at <code>/cgi-bin/cgi-download</code> which bypasses the ubus rpc
+transport. This is useful to fetch large file contents which might
+exceed the ubus message size limits or which contain binary data.</p>
+<p>The cgi-io helper will enforce the same access permission rules as
+the ubus based read call.</p>
+ </div>
+
+
+
+
+
+
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+ <th>Default</th>
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>path</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+ <td class="default">
+
+ </td>
+
+
+ <td class="description last">
+
+
+
+
+
+
+ <p>The file path to read.</p></td>
+ </tr>
+
+
+
+ <tr>
+
+ <td class="name"><code>type</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">string</span>
+
+
+
+ </td>
+
+
+ <td class="default">
+
+ text
+
+ </td>
+
+
+ <td class="description last">
+
+
+ <span class="optional">optional</span>
+
+
+
+
+
+ <p>The expected type of read file contents. Valid values are <code>text</code> to
+interpret the contents as string, <code>json</code> to parse the contents as JSON
+or <code>blob</code> to return the contents as Blob instance.</p></td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Type</th>
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+
+ <td class="type">
+
+ Promise.<*>
+
+
+ </td>
+ <td class="description last">Returns a promise resolving with the file contents interpreted according
+to the specified type or rejecting with an error stating the failure
+reason.</td>
+ </tr>
+
+ </tbody>
+</table>
+
+
+
+
</dd>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line203">line 203</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line237">line 237</a>
</div>
</div>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line146">line 146</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line180">line 180</a>
</div>
</div>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line260">line 260</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line294">line 294</a>
</div>
</div>
<div class="tag-source">
- <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line187">line 187</a>
+ <a href="fs.js.html">fs.js</a>, <a href="fs.js.html#line221">line 221</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1340">line 1340</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1389">line 1389</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1300">line 1300</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1349">line 1349</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1918">line 1918</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1989">line 1989</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2040">line 2040</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2111">line 2111</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1574">line 1574</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1623">line 1623</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1765">line 1765</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1836">line 1836</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1745">line 1745</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1816">line 1816</a>
</div>
</div>
+</dd>
+
+
+
+<dt>
+ <div class="nameContainer">
+ <h4 class="name" id="media">
+
+ media<span class="signature">(<span class="optional">parts</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
+ </h4>
+
+
+ <div class="tag-source">
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1803">line 1803</a>
+ </div>
+
+ </div>
+
+
+</dt>
+<dd>
+
+
+ <div class="description">
+ <p>Construct an URL path relative to the media resource path of the
+LuCI ui (usually <code>/luci-static/$theme_name</code>).</p>
+<p>The resulting URL is guaranteed to only contain the characters
+<code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code>, <code>.</code>, <code>%</code>, <code>,</code>, <code>;</code>, and <code>-</code> as well
+as <code>/</code> for the path separator.</p>
+ </div>
+
+
+
+
+
+
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Name</th>
+
+
+ <th>Type</th>
+
+
+
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+
+ <tbody>
+
+
+ <tr>
+
+ <td class="name"><code>parts</code></td>
+
+
+ <td class="type">
+
+
+<span class="param-type">Array.<string></span>
+
+
+
+ </td>
+
+
+
+ <td class="description last">
+
+
+ <span class="optional">optional</span>
+
+
+
+
+
+ <p>An array of parts to join into an URL path. Parts may contain
+slashes and any of the other characters mentioned above.</p></td>
+ </tr>
+
+
+ </tbody>
+</table>
+
+
+
+<dl class="details">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</dl>
+
+
+
+
+
+
+
+
+
+
+
+ <h5>Returns:</h5>
+
+
+
+<table class="params">
+ <thead>
+ <tr>
+
+ <th>Type</th>
+ <th class="last">Description</th>
+ </tr>
+ </thead>
+ <tbody>
+
+ <tr>
+
+ <td class="type">
+
+ string
+
+
+ </td>
+ <td class="description last">Returns the resulting URL path.</td>
+ </tr>
+
+ </tbody>
+</table>
+
+
+
+
</dd>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1679">line 1679</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1728">line 1728</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1988">line 1988</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2059">line 2059</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1946">line 1946</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2017">line 2017</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1234">line 1234</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1283">line 1283</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1379">line 1379</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1428">line 1428</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1873">line 1873</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1944">line 1944</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1732">line 1732</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1781">line 1781</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2053">line 2053</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2124">line 2124</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1794">line 1794</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1865">line 1865</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2027">line 2027</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2098">line 2098</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1839">line 1839</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1910">line 1910</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1710">line 1710</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1759">line 1759</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1877">line 1877</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1948">line 1948</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2687">line 2687</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2758">line 2758</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2905">line 2905</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2976">line 2976</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2871">line 2871</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2942">line 2942</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2790">line 2790</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2861">line 2861</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2834">line 2834</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2905">line 2905</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2725">line 2725</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2796">line 2796</a>
</div>
</div>
<div class="tag-source">
- <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2757">line 2757</a>
+ <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2828">line 2828</a>
</div>
</div>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:06 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
return rc;
}
+function handleCgiIoReply(res) {
+ if (!res.ok || res.status != 200) {
+ var e = new Error(res.statusText);
+ switch (res.status) {
+ case 400:
+ e.name = 'InvalidArgumentError';
+ break;
+
+ case 403:
+ e.name = 'PermissionError';
+ break;
+
+ case 404:
+ e.name = 'NotFoundError';
+ break;
+
+ default:
+ e.name = 'Error';
+ }
+ throw e;
+ }
+
+ switch (this.type) {
+ case 'blob':
+ return res.blob();
+
+ case 'json':
+ return res.json();
+
+ default:
+ return res.text();
+ }
+}
+
/**
* @class fs
* @memberof LuCI
return lines;
});
+ },
+
+ /**
+ * Read the contents of the given file and return them, bypassing ubus.
+ *
+ * This function will read the requested file through the cgi-io
+ * helper applet at `/cgi-bin/cgi-download` which bypasses the ubus rpc
+ * transport. This is useful to fetch large file contents which might
+ * exceed the ubus message size limits or which contain binary data.
+ *
+ * The cgi-io helper will enforce the same access permission rules as
+ * the ubus based read call.
+ *
+ * @param {string} path
+ * The file path to read.
+ *
+ * @param {string} [type=text]
+ * The expected type of read file contents. Valid values are `text` to
+ * interpret the contents as string, `json` to parse the contents as JSON
+ * or `blob` to return the contents as Blob instance.
+ *
+ * @returns {Promise<*>}
+ * Returns a promise resolving with the file contents interpreted according
+ * to the specified type or rejecting with an error stating the failure
+ * reason.
+ */
+ read_direct: function(path, type) {
+ var postdata = 'sessionid=%s&path=%s'
+ .format(encodeURIComponent(L.env.sessionid), encodeURIComponent(path));
+
+ return L.Request.post(L.env.cgi_base + '/cgi-download', postdata, {
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
+ responseType: (type == 'blob') ? 'blob' : 'text'
+ }).then(handleCgiIoReply.bind({ type: type }));
+ },
+
+ /**
+ * Execute the specified command, bypassing ubus.
+ *
+ * Note: The `command` must be either the path to an executable,
+ * or a basename without arguments in which case it will be searched
+ * in $PATH. If specified, the values given in `params` will be passed
+ * as arguments to the command.
+ *
+ * This function will invoke the requested commands through the cgi-io
+ * helper applet at `/cgi-bin/cgi-exec` which bypasses the ubus rpc
+ * transport. This is useful to fetch large command outputs which might
+ * exceed the ubus message size limits or which contain binary data.
+ *
+ * The cgi-io helper will enforce the same access permission rules as
+ * the ubus based exec call.
+ *
+ * @param {string} command
+ * The command to invoke.
+ *
+ * @param {string[]} [params]
+ * The arguments to pass to the command.
+ *
+ * @param {string} [type=text]
+ * The expected output type of the invoked program. Valid values are
+ * `text` to interpret the output as string, `json` to parse the output
+ * as JSON or `blob` to return the output as Blob instance.
+ *
+ * @param {boolean} [latin1=false]
+ * Whether to encode the command line as Latin1 instead of UTF-8. This
+ * is usually not needed but can be useful for programs that cannot
+ * handle UTF-8 input.
+ *
+ * @returns {Promise<*>}
+ * Returns a promise resolving with the command stdout output interpreted
+ * according to the specified type or rejecting with an error stating the
+ * failure reason.
+ */
+ exec_direct: function(command, params, type, latin1) {
+ var cmdstr = String(command)
+ .replace(/\\/g, '\\\\').replace(/(\s)/g, '\\$1');
+
+ if (Array.isArray(params))
+ for (var i = 0; i < params.length; i++)
+ cmdstr += ' ' + String(params[i])
+ .replace(/\\/g, '\\\\').replace(/(\s)/g, '\\$1');
+
+ if (latin1)
+ cmdstr = escape(cmdstr).replace(/\+/g, '%2b');
+ else
+ cmdstr = encodeURIComponent(cmdstr);
+
+ var postdata = 'sessionid=%s&command=%s'
+ .format(encodeURIComponent(L.env.sessionid), cmdstr);
+
+ return L.Request.post(L.env.cgi_base + '/cgi-exec', postdata, {
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
+ responseType: (type == 'blob') ? 'blob' : 'text'
+ }).then(handleCgiIoReply.bind({ type: type }));
}
});
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<footer>
- Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
* It provides simple means to create subclasses of given classes and
* implements prototypal inheritance.
*/
- var superContext = null, Class = Object.assign(function() {}, {
+ var superContext = {}, classIndex = 0, Class = Object.assign(function() {}, {
/**
* Extends this base class with the properties described in
* `properties` and returns a new subclassed Class instance
*/
extend: function(properties) {
var props = {
+ __id__: { value: classIndex },
__base__: { value: this.prototype },
- __name__: { value: properties.__name__ || 'anonymous' }
+ __name__: { value: properties.__name__ || 'anonymous' + classIndex++ }
};
var ClassConstructor = function() {
* superclass method returned `null`.
*/
super: function(key, callArgs) {
- for (superContext = Object.getPrototypeOf(superContext ||
- Object.getPrototypeOf(this));
- superContext && !superContext.hasOwnProperty(key);
- superContext = Object.getPrototypeOf(superContext)) { }
+ if (key == null)
+ return null;
+
+ var slotIdx = this.__id__ + '.' + key,
+ symStack = superContext[slotIdx],
+ protoCtx = null;
- if (!superContext)
+ for (protoCtx = Object.getPrototypeOf(symStack ? symStack[0] : Object.getPrototypeOf(this));
+ protoCtx != null && !protoCtx.hasOwnProperty(key);
+ protoCtx = Object.getPrototypeOf(protoCtx)) {}
+
+ if (protoCtx == null)
return null;
- var res = superContext[key];
+ var res = protoCtx[key];
if (arguments.length > 1) {
if (typeof(res) != 'function')
if (typeof(callArgs) != 'object')
callArgs = this.varargs(arguments, 1);
+ if (symStack)
+ symStack.unshift(protoCtx);
+ else
+ superContext[slotIdx] = [ protoCtx ];
+
res = res.apply(this, callArgs);
- }
- superContext = null;
+ if (symStack && symStack.length > 1)
+ symStack.shift(protoCtx);
+ else
+ delete superContext[slotIdx];
+ }
return res;
},
/* privates */
this.xhr = xhr;
- if (content != null && typeof(content) == 'object') {
+ if (content instanceof Blob) {
+ this.responseBlob = content;
+ this.responseJSON = null;
+ this.responseText = null;
+ }
+ else if (content != null && typeof(content) == 'object') {
+ this.responseBlob = null;
this.responseJSON = content;
this.responseText = null;
}
else if (content != null) {
+ this.responseBlob = null;
this.responseJSON = null;
this.responseText = String(content);
}
else {
this.responseJSON = null;
- this.responseText = xhr.responseText;
+
+ if (xhr.responseType == 'blob') {
+ this.responseBlob = xhr.response;
+ this.responseText = null;
+ }
+ else {
+ this.responseBlob = null;
+ this.responseText = xhr.responseText;
+ }
}
},
this.responseText = JSON.stringify(this.responseJSON);
return this.responseText;
+ },
+
+ /**
+ * Access the response content as blob.
+ *
+ * @instance
+ * @memberof LuCI.Response
+ * @returns {Blob}
+ * The response content as blob.
+ */
+ blob: function() {
+ return this.responseBlob;
}
});
* @property {boolean} [credentials=false]
* Whether to include credentials such as cookies in the request.
*
+ * @property {string} [responseType=text]
+ * Overrides the request response type. Valid values or `text` to
+ * interpret the response as UTF-8 string or `blob` to handle the
+ * response as binary `Blob` data.
+ *
* @property {*} [content]
* Specifies the HTTP message body to send along with the request.
* If the value is a function, it is invoked and the return value
else
opt.xhr.open(opt.method, opt.url, true);
- opt.xhr.responseType = 'text';
+ opt.xhr.responseType = opt.responseType || 'text';
if ('overrideMimeType' in opt.xhr)
opt.xhr.overrideMimeType('application/octet-stream');
if (env.base_url == null)
this.error('InternalError', 'Cannot find url of luci.js');
+ env.cgi_base = env.scriptname.replace(/\/[^\/]+$/, '');
+
Object.assign(this.env, env);
document.addEventListener('poll-start', function(ev) {
if (rpcBaseURL == null) {
var rpcFallbackURL = this.url('admin/ubus');
- rpcBaseURL = Request.get('/ubus/').then(function(res) {
- return (rpcBaseURL = (res.status == 400) ? '/ubus/' : rpcFallbackURL);
+ rpcBaseURL = Request.get(this.env.ubuspath).then(function(res) {
+ return (rpcBaseURL = (res.status == 400) ? L.env.ubuspath : rpcFallbackURL);
}, function() {
return (rpcBaseURL = rpcFallbackURL);
}).then(function(url) {
return this.path(this.env.resource, arguments);
},
+ /**
+ * Construct an URL path relative to the media resource path of the
+ * LuCI ui (usually `/luci-static/$theme_name`).
+ *
+ * The resulting URL is guaranteed to only contain the characters
+ * `a-z`, `A-Z`, `0-9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
+ * as `/` for the path separator.
+ *
+ * @instance
+ * @memberof LuCI
+ *
+ * @param {string[]} [parts]
+ * An array of parts to join into an URL path. Parts may contain
+ * slashes and any of the other characters mentioned above.
+ *
+ * @return {string}
+ * Returns the resulting URL path.
+ */
+ media: function() {
+ return this.path(this.env.media, arguments);
+ },
+
/**
* Return the complete URL path to the current view.
*
* returned promise runs to completion before the button
* is reenabled.
*/
- handleSaveApply: function(ev) {
+ handleSaveApply: function(ev, mode) {
return this.handleSave(ev).then(function() {
- L.ui.changes.apply(true);
+ L.ui.changes.apply(mode == '0');
});
},
addFooter: function() {
var footer = E([]);
+ var saveApplyBtn = this.handleSaveApply ? new L.ui.ComboButton('0', {
+ 0: [ _('Save & Apply') ],
+ 1: [ _('Apply unchecked') ]
+ }, {
+ classes: {
+ 0: 'cbi-button cbi-button-apply important',
+ 1: 'cbi-button cbi-button-negative important'
+ },
+ click: L.ui.createHandlerFn(this, 'handleSaveApply')
+ }).render() : E([]);
+
if (this.handleSaveApply || this.handleSave || this.handleReset) {
footer.appendChild(E('div', { 'class': 'cbi-page-actions' }, [
- this.handleSaveApply ? E('button', {
- 'class': 'cbi-button cbi-button-apply',
- 'click': L.ui.createHandlerFn(this, 'handleSaveApply')
- }, [ _('Save & Apply') ]) : '', ' ',
+ saveApplyBtn, ' ',
this.handleSave ? E('button', {
'class': 'cbi-button cbi-button-save',
'click': L.ui.createHandlerFn(this, 'handleSave')
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
var proto_errors = {
CONNECT_FAILED: _('Connection attempt failed'),
- INVALID_ADDRESS: _('IP address in invalid'),
+ INVALID_ADDRESS: _('IP address is invalid'),
INVALID_GATEWAY: _('Gateway address is invalid'),
INVALID_LOCAL_ADDRESS: _('Local IP address is invalid'),
MISSING_ADDRESS: _('IP address is missing'),
type: dev.type,
mtu: dev.mtu,
qlen: dev.qlen,
+ wireless: dev.wireless,
ipaddrs: [],
ip6addrs: []
};
if (devices.hasOwnProperty(ifname))
continue;
- if (isIgnoredIfname(ifname) || isVirtualIfname(ifname) || isWifiIfname(ifname))
+ if (isIgnoredIfname(ifname) || isWifiIfname(ifname))
+ continue;
+
+ if (_state.netdevs[ifname].wireless)
continue;
devices[ifname] = this.instantiateDevice(ifname);
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>
<li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
+ <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
+
<li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
<li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
<li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
+ <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
+
<li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
<li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
<li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
+ <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
+
<li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
<li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
+
<li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
<li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Nov 07 2019 12:36:05 GMT+0100 (Central European Standard Time)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Feb 12 2020 11:56:59 GMT+0100 (Central European Standard Time)
</footer>
</div>
</div>