ソースを参照

Update README.md

added return true to the content provider get example, doesn't compile without it
Daniel Zehe 6 年 前
コミット
9fb11986a5
1 ファイル変更1 行追加0 行削除
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -196,6 +196,7 @@ int main(void)
   auto res = cli.Get("/large-data",
     [&](const char *data, uint64_t data_length) {
       body.append(data, data_length);
+      return true;
     });
 
   assert(res->body.empty());