SHARE
TWEET

Untitled

a guest Feb 20th, 2017 259 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. shared void run() => newServer {
  2.         Endpoint {
  3.             path = startsWith("/");
  4.             acceptMethod = { get };
  5.             (request, response) =>
  6.                 response.writeString("Say more, more clearly");
  7.         }
  8.     }.start();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top