socketstream/socketstream

View on GitHub
docs/partials/api/ss.client.client.html

Summary

Maintainability
Test Coverage
<a href="https://github.com/socketstream/socketstream/edit/master/lib/socketstream.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/socketstream/socketstream/blob/3f3f67a/lib/socketstream.js#L137" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">client</code>
<div><span class="hint">service in module <code ng:non-bindable="">ss</code>
</span>
</div>
</h1>
<div><h2 id="description">Description</h2>
<div class="description"><div class="ss-client-page ss-client-client-page"><p>Allow other libs to send assets to the client</p>
</div></div>
<div class="member method"><h2 id="methods">Methods</h2>
<ul class="methods"><li><a href="https://github.com/socketstream/socketstream/blob/3f3f67a/lib/client/system/index.js#L42" class="view-source icon-eye-open"> </a><h3 id="methods_send">send(type, name, content, options)</h3>
<div class="send"><div class="ss-client-page ss-client-client-send-page"><p>Allow other libs to send assets to the client. add new System Library or Module</p>
</div><h5 id="methods_send_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>type</td><td><a href="" class="label type-hint type-hint-object">'code','lib','module'</a></td><td><div class="ss-client-page ss-client-client-send-page"><ul>
<li><code>code</code>, <code>lib</code>, <code>module</code>.</li>
</ul>
</div></td></tr><tr><td>name</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="ss-client-page ss-client-client-send-page"><ul>
<li>Module name for require.</li>
</ul>
</div></td></tr><tr><td>content</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="ss-client-page ss-client-client-send-page"><ul>
<li>The JS code</li>
</ul>
</div></td></tr><tr><td>options</td><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="ss-client-page ss-client-client-send-page"><ul>
<li>Allows you to specify <code>compress</code> and <code>coffee</code> format flags.</li>
</ul>
</div></td></tr></tbody></table></div>
</li>
</ul>
</div>
</div>