/examples/httpservertest/nqpmodule.nqp
http://github.com/NotFound/winxed · Unknown · 13 lines · 13 code · 0 blank · 0 comment · 0 complexity · 9d3ff3ecc60b76e3c3f47ca9b5617954 MD5 · raw file
- sub nqp_handler($request)
- {
- $request.contentType('text/html');
- $request.print(
- "<html>\n" ~
- "<body>\n" ~
- "<h1>\n" ~
- "Hello from nqp module!\n" ~
- "</h1>\n" ~
- "</body>\n" ~
- "</html>\n"
- );
- }