Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tendant/ring-http-header-session
Similar to ring session middleware, using http header mainly for mobile apps, instead of http cookie.
https://github.com/tendant/ring-http-header-session
Last synced: about 1 month ago
JSON representation
Similar to ring session middleware, using http header mainly for mobile apps, instead of http cookie.
- Host: GitHub
- URL: https://github.com/tendant/ring-http-header-session
- Owner: tendant
- License: epl-1.0
- Created: 2017-11-29T00:01:43.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-18T00:53:14.000Z (over 4 years ago)
- Last Synced: 2024-10-12T13:31:21.718Z (2 months ago)
- Language: Clojure
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ring-http-header-session
Similar to ring session middleware, using HTTP Header, instead of HTTP Cookie.
## Installation
[tendant/ring-http-header-session "0.1.0"]
## Usage
(require '[ring.middleware.http-header-session :as http-header-session])
(require '[ring.middleware.session.memory :as mem])
(http-header-session/wrap-http-header-session app {:store (mem/memory-store)
:header-name "x-http-header-session"})## License
Copyright © 2017 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.