瀏覽代碼

Updated README

yhirose 6 年之前
父節點
當前提交
319417f26d
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      README.md

+ 1 - 2
README.md

@@ -248,14 +248,13 @@ svr.set_expect_100_continue_handler([](const Request &req, Response &res) {
 Client Example
 --------------
 
-### GET
-
 ```c++
 #include <httplib.h>
 #include <iostream>
 
 int main(void)
 {
+  // IMPORTANT: 1st parameter must be a hostname or an IP adress string.
   httplib::Client cli("localhost", 1234);
 
   auto res = cli.Get("/hi");