Browse Source

Update README

yhirose 5 years ago
parent
commit
29a06f852a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -243,9 +243,7 @@ svr.set_payload_max_length(1024 * 1024 * 512); // 512MB
 
 
 ### Server-Sent Events
 ### Server-Sent Events
 
 
-[Server example](https://github.com/yhirose/cpp-httplib/blob/master/example/ssesvr.cc)
-
-[Client example](https://github.com/yhirose/cpp-httplib/blob/master/example/ssecli.cc)
+Please see [Server example](https://github.com/yhirose/cpp-httplib/blob/master/example/ssesvr.cc) and [Client example](https://github.com/yhirose/cpp-httplib/blob/master/example/ssecli.cc).
 
 
 ### Default thread pool support
 ### Default thread pool support
 
 
@@ -390,6 +388,7 @@ auto res = cli.Get("/large-data",
 
 
 ```cpp
 ```cpp
 std::string body;
 std::string body;
+
 auto res = cli.Get(
 auto res = cli.Get(
   "/stream", Headers(),
   "/stream", Headers(),
   [&](const Response &response) {
   [&](const Response &response) {
@@ -406,6 +405,7 @@ auto res = cli.Get(
 
 
 ```cpp
 ```cpp
 std::string body = ...;
 std::string body = ...;
+
 auto res = cli_.Post(
 auto res = cli_.Post(
   "/stream", body.size(),
   "/stream", body.size(),
   [](size_t offset, size_t length, DataSink &sink) {
   [](size_t offset, size_t length, DataSink &sink) {