https://github.com/luminus-framework/luminus-undertow
Undertow wrapper for Luminus
https://github.com/luminus-framework/luminus-undertow
Last synced: 8 months ago
JSON representation
Undertow wrapper for Luminus
- Host: GitHub
- URL: https://github.com/luminus-framework/luminus-undertow
- Owner: luminus-framework
- License: epl-1.0
- Created: 2020-02-07T21:05:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-29T22:16:50.000Z (about 3 years ago)
- Last Synced: 2025-09-14T10:58:01.213Z (9 months ago)
- Language: Clojure
- Size: 18.6 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# luminus-undertow
Undertow HTTP adapter for Luminus
[](https://clojars.org/luminus-undertow)
### HTTP handler
```clojure
(ns myapp.core
(:require
[luminus.http-server :as http]))
(defn http-handler [request]
{:status 200
:headers {"Content-Type" "text/plain"}
:body (:remote-addr request)})
(http/start
{:handler http-handler
:port 3000})
```
## License
Copyright © 2016 Dmitri Sotnikov
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.