Created
March 21, 2014 18:01
-
-
Save marionette-of-u/9691930 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
| struct echo_server : public keisan_kun::http_server<>{ | |
| using base_type = keisan_kun::http_server<>; | |
| bool proc(stream &s){ | |
| std::string str; | |
| s >> str; | |
| s << str; | |
| return false; | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment