【发布时间】:2015-06-06 00:11:46
【问题描述】:
来自http://immutant.org/documentation/current/apidoc/guide-installation.html 的不变文档:
有了依赖关系,您只需调用 Immutant 来自应用主入口点的服务,由
:main标识 输入你的project.clj。
Immutant 的网络服务可以这样调用:
(ns my-app.handler
...
(:require [immutant.web :as web])
... )
(def app ... )
(defn -main [& args]
(web/run app))
(web/run app) 与 immutant.messaging 的等价物是什么?
【问题讨论】: