Pārlūkot izejas kodu

Add note about task.post() to HTTP module documentation

Marcel Stör 8 gadi atpakaļ
vecāks
revīzija
244c6e9db1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      docs/en/modules/http.md

+ 1 - 1
docs/en/modules/http.md

@@ -7,7 +7,7 @@ Basic HTTP *client* module that provides an interface to do GET/POST/PUT/DELETE
 
 !!! note "Note:"
 
-    It is **not** possible to execute concurrent HTTP requests using this module. Starting a new request before the previous has completed will result in undefined behavior.
+    It is **not** possible to execute concurrent HTTP requests using this module. Starting a new request before the previous has completed will result in undefined behavior. Use [`node.task.post()`](https://nodemcu.readthedocs.io/en/master/en/modules/node/#nodetaskpost) in the callbacks of your calls to start subsequent calls if you want to chain them (see [#1258](https://github.com/nodemcu/nodemcu-firmware/issues/1258)).
 
 Each request method takes a callback which is invoked when the response has been received from the server. The first argument is the status code, which is either a regular HTTP status code, or -1 to denote a DNS, connection or out-of-memory failure, or a timeout (currently at 10 seconds).