ring

Clojure HTTP server abstraction

Github星跟蹤圖

Ring

Build Status

Ring is a Clojure web applications library inspired by Python's WSGI
and Ruby's Rack. By abstracting the details of HTTP into a simple,
unified API, Ring allows web applications to be constructed of modular
components that can be shared among a variety of applications, web
servers, and web frameworks.

The SPEC file at the root of this distribution provides a
complete description of the Ring interface.

Upgrade Notice

From version 1.2.1 onward, the ring/ring-core package no longer comes
with the javax.servlet/servlet-api package as a dependency (see
issue #89).

If you are using the ring/ring-core namespace on its own, you may
run into errors when executing tests or running alternative adapters.
To resolve this, include the following dependency in your dev profile:

[javax.servlet/servlet-api "2.5"]

Libraries

  • ring-core - essential functions for handling parameters, cookies and more
  • ring-devel - functions for developing and debugging Ring applications
  • ring-servlet - construct Java servlets from Ring handlers
  • ring-jetty-adapter - a Ring adapter that uses the Jetty webserver

Installation

To include one of the above libraries, for example ring-core, add
the following to your :dependencies:

[ring/ring-core "1.8.0"]

To include all of them:

[ring "1.8.0"]

Documentation

Community

Contributing

Please see CONTRIBUTING.md.

Thanks

This project borrows heavily from Ruby's Rack and Python's WSGI;
thanks to those communities for their work.

License

Copyright © 2009-2019 Mark McGranaghan, James Reeves & contributors.

Released under the MIT license.

主要指標

概覽
名稱與所有者ring-clojure/ring
主編程語言Clojure
編程語言Clojure (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2012-04-29 11:15:06
推送於2025-03-28 13:51:56
最后一次提交2025-03-28 13:51:36
發布數116
最新版本名稱1.14.1 (發布於 2025-03-27 17:09:09)
第一版名稱0.1.0 (發布於 )
用户参与
星數3.8k
關注者數112
派生數522
提交數1.2k
已啟用問題?
問題數280
打開的問題數30
拉請求數149
打開的拉請求數7
關閉的拉請求數89
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?