{"id":26022946,"url":"https://github.com/agrison/duct-immutant","last_synced_at":"2026-04-17T18:31:10.431Z","repository":{"id":62433587,"uuid":"138061515","full_name":"agrison/duct-immutant","owner":"agrison","description":"Integrant methods for running an Immutant web server","archived":false,"fork":false,"pushed_at":"2018-06-20T18:42:27.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T03:01:40.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agrison.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-20T16:55:58.000Z","updated_at":"2018-11-14T08:53:16.000Z","dependencies_parsed_at":"2022-11-01T21:01:57.418Z","dependency_job_id":null,"html_url":"https://github.com/agrison/duct-immutant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2Fduct-immutant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2Fduct-immutant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2Fduct-immutant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agrison%2Fduct-immutant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agrison","download_url":"https://codeload.github.com/agrison/duct-immutant/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241780544,"owners_count":20019080,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-06T10:37:34.766Z","updated_at":"2025-12-03T18:03:55.395Z","avatar_url":"https://github.com/agrison.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duct server.http.immutant\n\n[![Build Status](https://travis-ci.org/agrison/duct-immutant.svg?branch=master)](https://travis-ci.org/agrison/duct-immutant)\n\nIntegrant multimethods for running an [Immutant][] HTTP server for the\n[Duct][] framework.\n\n[immutant]: http://www.immutant.org\n[duct]: https://github.com/duct-framework/duct\n\n## Installation\n\nTo install, add the following to your project `:dependencies`:\n\n    [me.grison/duct-immutant \"0.1.0\"]\n\n## Usage\n\nThis library adds Integrant methods that dispatch off the\n`:duct.server.http/immutant` key, which is derived from\n`:duct.server/http`. The corresponding value is a map of options for\nthe Immutant Ring adapter, plus a `:handler` key that takes a handler\nfunction.\n\nFor example:\n\n```clojure\n{:duct.server.http/immutant\n {:port    3000\n  :handler (fn [request]\n             {:status  200\n              :headers {\"Content-Type\" \"text/plain\"}\n              :body    \"Hello World\"})}}\n```\n\nA `:logger` key may also be specified, which will be used to log when\nthe server starts and when it stops. The value of the key should be an\nimplementation of the `duct.logger/Logger` protocol from the\n[duct.logger][] library\n\n[duct.logger]: https://github.com/duct-framework/logger\n\n## License\n\nCopyright © 2018 Alexandre Grison\n\nAdapted from work done by James Reeves in both \n[server.http.jetty](http://github.com/duct-framework/server.http.jetty)\nand [server.http.http-kit](http://github.com/duct-framework/server.http.http-kit)\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrison%2Fduct-immutant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagrison%2Fduct-immutant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagrison%2Fduct-immutant/lists"}