Commit 7f60e8a3 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix C++ lib sample

parent c31be5af
......@@ -1003,7 +1003,8 @@ HTTP/2 server looks like this:
server.listen
("*", 3000,
[](std::shared_ptr<request> req, std::shared_ptr<response> res)
[](const std::shared_ptr<request>& req,
const std::shared_ptr<response>& res)
{
res->write_head(200);
res->end("hello, world");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment