Skip to content
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
src
.gitignore
README.rest
project.clj

README.rest

async request handler using servlet 3.0 async support

this example shows how to use async servlet request handling on immutant the changes required for this to work are available starting from 0.8.0

to run it, do lein immutant deploy and go to http://localhost:8080/async/async/ for the async version and to http://localhost:8080/async/sync/ for the sync version.

the request will wait for 5 seconds and then reply "finished".

Something went wrong with that request. Please try again.