react-native

C++11 port for Node.js 示例代码: #include #include "http.h" using namespace native::http; int main() { http server; if(server.listen("0.0.0.0", 8080, [](request& req, response& res){ res.set_status(200); res.set_header("Content-Type", "text/plain"); res.end("C++ FTW\n"); })) std::cout << "Server running at http://0.0.0.0:8080/" << std::endl; return native::run(); }...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部