I'd like to write something like C's switch/case. Is it possible without 
writing a custom router?
    
    
    routes:
      get "/hello":
      get "/helloWorld":
        resp "Hello World"
    
    
    
    Run

I can write separate handler proc and return http code, headers and content, 
but may be there is a more beautiful solution?

Reply via email to