Last active
August 29, 2015 14:24
-
-
Save eicnix/535ba1316a9c073186fc to your computer and use it in GitHub Desktop.
Unfiltered server to test dispatch
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
// Example for lukaseichler.de/how-to-test-dispatch-request/ | |
val filter = unfiltered.filter.Planify { | |
case _ => ResponseString( | |
"Hello World!" | |
) | |
} | |
unfiltered.jetty.Server(8080).plan(filter).run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment