|
1 | 1 | <h1>
|
2 | 2 | <a id="user-content-core-features" class="anchor" href="#core-features" aria-hidden="true"><span class="octicon octicon-link"></span></a>Core Features</h1>
|
3 | 3 |
|
4 |
| -<p>The latest release is v0.4.2, more detail changes about it can be found from <a href="downloads.html">Release History</a>.</p> |
| 4 | +<p>The latest release is v0.4.3, more detail changes about it can be found from <a href="//nginx-clojure.github.io/downloads.html">Release History</a>.</p> |
5 | 5 |
|
6 | 6 | <ol>
|
7 | 7 | <li>Compatible with <a href="https://github.com/ring-clojure/ring/blob/master/SPEC">Ring</a> and obviously supports those Ring based frameworks, such as Compojure etc.</li>
|
8 | 8 | <li>Http Services by using Clojure / Java / Groovy to write simple handlers for http services.</li>
|
9 | 9 | <li>Nginx Access Handler by Clojure / Java / Groovy</li>
|
10 |
| -<li>Nginx Header Filter by Clojure / Java / Groovy</li> |
| 10 | +<li>Nginx Header Filter by Clojure / Java / Groovy</li> |
| 11 | +<li> |
| 12 | +<strong><em>NEW</em></strong>: Pub/Sub Among Nginx Worker Processes</li> |
| 13 | +<li> |
| 14 | +<strong><em>NEW</em></strong>: Shared Map based on shared memory & Shared Map based Ring session store</li> |
11 | 15 | <li>
|
12 | 16 | <strong><em>NEW</em></strong>: Support Sente, see <a href="https://github.com/ptaoussanis/sente/pull/160">this PR</a>
|
13 | 17 | </li>
|
14 | 18 | <li>
|
15 | 19 | <strong><em>NEW</em></strong>: Support Per-message Compression Extensions (PMCEs) for WebSocket</li>
|
16 |
| -<li> |
17 |
| -<strong><em>NEW</em></strong>: APIs for Embedding Nginx-Clojure into a Standard Clojure/Java/Groovy App</li> |
18 |
| -<li> |
19 |
| -<strong><em>NEW</em></strong>: Server Side Websocket</li> |
| 20 | +<li>APIs for Embedding Nginx-Clojure into a Standard Clojure/Java/Groovy App</li> |
| 21 | +<li>Server Side Websocket</li> |
20 | 22 | <li>A build-in Jersey container to support java standard RESTful web services (JAX-RS 2.0)</li>
|
21 | 23 | <li>Tomcat 8 embedding support (so servlet 3.1/jsp/sendfile/JSR-356 websocket work within nginx!)</li>
|
22 | 24 | <li>Dynamic proxying by using Clojure / Java / Groovy to write a simple nginx rewrite handler to set var or return errors before proxy pass or content ring handler</li>
|
|
25 | 27 | <li>Handle multiple sockets parallel in sub coroutines, e.g. we can invoke two remote services at the same time.</li>
|
26 | 28 | <li>Asynchronous callback API of socket/Channel for some advanced usage</li>
|
27 | 29 | <li>Long Polling & Server Sent Events</li>
|
28 |
| -<li>More easier to archive Sub/Pub services with broadcast events API</li> |
29 | 30 | <li>Run initialization clojure code when nginx worker starting</li>
|
30 | 31 | <li>Support user defined http request method</li>
|
31 | 32 | <li>Compatible with the Nginx lastest stable version 1.8.0. (Nginx 1.6.x, 1.4.x is also ok, older version is not tested and maybe works.)</li>
|
|
42 | 43 |
|
43 | 44 | <p>Nginx-Clojure has already been published to <a href="https://clojars.org/">https://clojars.org/</a> whose maven repository is </p>
|
44 | 45 |
|
45 |
| -<div class="highlight highlight-xml"><pre><<span class="pl-ent">repository</span>> |
| 46 | +<div class="highlight highlight-text-xml"><pre><<span class="pl-ent">repository</span>> |
46 | 47 | <<span class="pl-ent">id</span>>clojars.org</<span class="pl-ent">id</span>>
|
47 | 48 | <<span class="pl-ent">url</span>>http://clojars.org/repo</<span class="pl-ent">url</span>>
|
48 | 49 | </<span class="pl-ent">repository</span>></pre></div>
|
|
52 | 53 | <h2>
|
53 | 54 | <a id="user-content--leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen-" class="anchor" href="#-leiningen-clojure-no-need-to-add-clojars-repository-which-is-a-default-repository-for-leiningen-" aria-hidden="true"><span class="octicon octicon-link"></span></a> Leiningen (clojure, no need to add clojars repository which is a default repository for Leiningen) </h2>
|
54 | 55 |
|
55 |
| -<div class="highlight highlight-clojure"><pre>[nginx-clojure <span class="pl-s"><span class="pl-pds">"</span>0.4.2<span class="pl-pds">"</span></span>]</pre></div> |
| 56 | +<div class="highlight highlight-source-clojure"><pre>[nginx-clojure <span class="pl-s"><span class="pl-pds">"</span>0.4.2<span class="pl-pds">"</span></span>]</pre></div> |
56 | 57 |
|
57 | 58 | <h2>
|
58 | 59 | <a id="user-content-gradle-groovyjava" class="anchor" href="#gradle-groovyjava" aria-hidden="true"><span class="octicon octicon-link"></span></a>Gradle (groovy/java)</h2>
|
|
63 | 64 | <h2>
|
64 | 65 | <a id="user-content-maven" class="anchor" href="#maven" aria-hidden="true"><span class="octicon octicon-link"></span></a>Maven</h2>
|
65 | 66 |
|
66 |
| -<div class="highlight highlight-xml"><pre><<span class="pl-ent">dependency</span>> |
| 67 | +<div class="highlight highlight-text-xml"><pre><<span class="pl-ent">dependency</span>> |
67 | 68 | <<span class="pl-ent">groupId</span>>nginx-clojure</<span class="pl-ent">groupId</span>>
|
68 | 69 | <<span class="pl-ent">artifactId</span>>nginx-clojure</<span class="pl-ent">artifactId</span>>
|
69 | 70 | <<span class="pl-ent">version</span>>0.4.2</<span class="pl-ent">version</span>>
|
|
0 commit comments