Created
October 7, 2022 11:39
-
-
Save s1monw1/4882fdae09d3ade513a40c77e4302979 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
val app: HttpHandler = { request: Request -> | |
Response(OK).body(request.body) | |
} | |
val server = app.asServer(SunHttp(8000)).start() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment