Created
          July 21, 2015 16:18 
        
      - 
      
- 
        Save lildata/c9c76ccb38e63e535e68 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ;; $ lein try ring/ring-core 1.4.0 ring/ring-jetty-adapter 1.4.0 | |
| user=> (use 'ring.adapter.jetty) | |
| user=> (defn handler [request] | |
| #_=> {:status 200 | |
| #_=> :headers {"Content-Type" "text/plain"} | |
| #_=> :body "Hello [Clojure Ring Jetty] !"}) | |
| #'user/handler | |
| user=> (run-jetty handler {:port 3335}) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment