Skip to content

Instantly share code, notes, and snippets.

@toff63
Created February 23, 2013 15:25
Show Gist options
  • Select an option

  • Save toff63/5020132 to your computer and use it in GitHub Desktop.

Select an option

Save toff63/5020132 to your computer and use it in GitHub Desktop.
(ns immutant.init
(:use hello-world.core)
(:require [ring.middleware.session :as ring-session]
[immutant.web.session :as immutant-session]
[immutant.messaging :as messaging]
[immutant.web :as web]
))
(web/start "/" ring-handler)
(web/start "/echo" echo-ring-handler)
(web/start "/session"
(sandbar.stateful-session/wrap-stateful-session
session-ring-handler
{:store (immutant-session/servlet-store)}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment