Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrossley3 committed Feb 10, 2015
1 parent c6d4eeb commit 1479ce9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _2x_docs/2.0.0-beta2/apidoc/guide-installation.html
Expand Up @@ -10,7 +10,7 @@
[org.immutant/caching "2.0.0-beta2"]
[org.immutant/messaging "2.0.0-beta2"]
[org.immutant/scheduling "2.0.0-beta2"]
[org.immutant/transactions "2.0.0-beta2]])
[org.immutant/transactions "2.0.0-beta2"]])
</code></pre><p>You would of course only include the libs you need, but if you really did use all of them, or you just want to experiment, we provide an aggregate that brings them all in transitively:</p>
<pre><code class="clojure">(defproject some-project &quot;1.2.3&quot;
...
Expand Down Expand Up @@ -51,4 +51,4 @@
:dependencies [[org.immutant/immutant &quot;2.x.incremental.BUILD_NUMBER&quot;]]
:repositories [[&quot;Immutant 2.x incremental builds&quot;
&quot;http://downloads.immutant.org/incremental/&quot;]])
</code></pre><p>You should replace <strong>BUILD_NUMBER</strong> with the actual build number for the version you want to use. You can obtain this from our <a href="http://immutant.org/builds/2x/">builds</a> page.</p><p>Along with the artifacts, each CI build publishes <a href="https://projectodd.ci.cloudbees.com/job/immutant2-incremental/lastSuccessfulBuild/artifact/target/apidocs/index.html">the API docs</a> for all of the Immutant 2.x namespaces.</p></div></div></div><script src="assets/jquery.syntax.min.js" type="text/javascript"></script><script src="assets/immutant.js" type="text/javascript"></script></body></html>
</code></pre><p>You should replace <strong>BUILD_NUMBER</strong> with the actual build number for the version you want to use. You can obtain this from our <a href="http://immutant.org/builds/2x/">builds</a> page.</p><p>Along with the artifacts, each CI build publishes <a href="https://projectodd.ci.cloudbees.com/job/immutant2-incremental/lastSuccessfulBuild/artifact/target/apidocs/index.html">the API docs</a> for all of the Immutant 2.x namespaces.</p></div></div></div><script src="assets/jquery.syntax.min.js" type="text/javascript"></script><script src="assets/immutant.js" type="text/javascript"></script></body></html>
4 changes: 2 additions & 2 deletions _2x_docs/2.0.0-beta2/apidoc/guide-web.html
Expand Up @@ -83,7 +83,7 @@
:on-close (fn [channel {:keys [code reason]}])
:on-error (fn [channel throwable])
:on-message (fn [channel message])
</code></pre><p>The <code>:on-message</code> handler is only relevant to WebSockets, as are the <code>:code</code> and <code>:reason</code> keys passed to <code>:on-close</code>: they will be nil for HTTP streams.</p><h3 id="h5307">HTTP Streams</h3><p>Creating chunked responses are straightforward, as the following Ring handler demonstrates:</p>
</code></pre><p>The <code>:on-message</code> handler is only relevant to WebSockets, as are the <code>:code</code> and <code>:reason</code> keys passed to <code>:on-close</code>: they will be nil for HTTP streams.</p><h3 id="h5307">HTTP Streams</h3><p>Creating chunked responses is straightforward, as the following Ring handler demonstrates:</p>
<pre><code class="clojure">(require &#39;[immutant.web.async :as async])

(defn app [request]
Expand Down Expand Up @@ -141,4 +141,4 @@
event: close
data: bye!

</code></pre><p>And note that most EventSource clients will attempt to reconnect if the server closes the connection, so instead we send a special &ldquo;close&rdquo; event on which our client can dispatch to initiate the close.</p><h2 id="h5310">Feature Demo</h2><p>We maintain a Leiningen project called the <a href="https://github.com/immutant/feature-demo">Immutant Feature Demo</a> demonstrating all the Immutant namespaces, including examples of simple <a href="https://github.com/immutant/feature-demo/blob/thedeuce/src/demo/web.clj">Web</a> apps.</p><p>You should be able to clone it somewhere, cd there, and <code>lein run</code>.</p><p>Have fun!</p></div></div></div><script src="assets/jquery.syntax.min.js" type="text/javascript"></script><script src="assets/immutant.js" type="text/javascript"></script></body></html>
</code></pre><p>And note that most EventSource clients will attempt to reconnect if the server closes the connection, so instead we send a special &ldquo;close&rdquo; event on which our client can dispatch to initiate the close.</p><h2 id="h5310">Feature Demo</h2><p>We maintain a Leiningen project called the <a href="https://github.com/immutant/feature-demo">Immutant Feature Demo</a> demonstrating all the Immutant namespaces, including examples of simple <a href="https://github.com/immutant/feature-demo/blob/thedeuce/src/demo/web.clj">Web</a> apps.</p><p>You should be able to clone it somewhere, cd there, and <code>lein run</code>.</p><p>Have fun!</p></div></div></div><script src="assets/jquery.syntax.min.js" type="text/javascript"></script><script src="assets/immutant.js" type="text/javascript"></script></body></html>

0 comments on commit 1479ce9

Please sign in to comment.